Show file open's user in parent folder
This commit is contained in:
parent
3f80900793
commit
de744a3946
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue