Show file open's user in parent folder

This commit is contained in:
Andras Schmelczer 2025-10-26 13:30:50 +00:00
commit de744a3946

View file

@ -34,7 +34,7 @@ export function renderCursorsInFileExplorer(
(parent) => { (parent) => {
cursors.forEach((cursor) => { cursors.forEach((cursor) => {
cursor.documentsWithCursors.forEach((document) => { cursor.documentsWithCursors.forEach((document) => {
if (document.relative_path === key) { if (document.relative_path.startsWith(key)) {
parent.appendChild( parent.appendChild(
createSpan({ createSpan({
text: cursor.userName, text: cursor.userName,