From de744a3946e1016e555999830f614511868ad635 Mon Sep 17 00:00:00 2001 From: Andras Schmelczer Date: Sun, 26 Oct 2025 13:30:50 +0000 Subject: [PATCH] Show file open's user in parent folder --- frontend/obsidian-plugin/src/views/cursors/file-explorer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/obsidian-plugin/src/views/cursors/file-explorer.ts b/frontend/obsidian-plugin/src/views/cursors/file-explorer.ts index be71c058..78bf3e4f 100644 --- a/frontend/obsidian-plugin/src/views/cursors/file-explorer.ts +++ b/frontend/obsidian-plugin/src/views/cursors/file-explorer.ts @@ -34,7 +34,7 @@ export function renderCursorsInFileExplorer( (parent) => { cursors.forEach((cursor) => { cursor.documentsWithCursors.forEach((document) => { - if (document.relative_path === key) { + if (document.relative_path.startsWith(key)) { parent.appendChild( createSpan({ text: cursor.userName,