From 3dbeb54c543fc3b86e063ca6467e1fe5ce143af3 Mon Sep 17 00:00:00 2001 From: Andras Schmelczer Date: Sat, 22 Mar 2025 20:23:34 +0000 Subject: [PATCH] Only show file name on history card --- frontend/obsidian-plugin/src/views/history-view.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/obsidian-plugin/src/views/history-view.ts b/frontend/obsidian-plugin/src/views/history-view.ts index 4b743a46..2169a425 100644 --- a/frontend/obsidian-plugin/src/views/history-view.ts +++ b/frontend/obsidian-plugin/src/views/history-view.ts @@ -54,7 +54,7 @@ export class HistoryView extends ItemView { } element.createEl("span", { - text: entry.relativePath + text: entry.relativePath.split("/").pop() }); }