Show file open's user in parent folder

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

View file

@ -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,