chore: fix conflicts filter

This commit is contained in:
Aman Harwara
2023-09-26 12:57:42 +05:30
parent 4aa7314eef
commit 2a27e512fb

View File

@@ -880,7 +880,7 @@ export class ItemManager extends Services.AbstractService implements Services.It
? this.navigationDisplayController
.items()
.filter((item) => Models.isNote(item) && this.collection.uuidsOfItemsWithConflicts().includes(item.uuid))
: this.findItems(uuids)
: this.findItems(uuids).filter(Models.isNote)
return items.length
}