refactor: fix conflicts view when conflicted copies are already in trash (#2339)

This commit is contained in:
Aman Harwara
2023-06-27 22:08:46 +05:30
committed by GitHub
parent f858f31492
commit d3378a704a
7 changed files with 102 additions and 35 deletions

View File

@@ -1415,7 +1415,11 @@ export class ItemManager
})
}
numberOfNotesWithConflicts(): number {
public conflictsOf(uuid: string) {
return this.collection.conflictsOf(uuid)
}
public numberOfNotesWithConflicts(): number {
return this.collection.numberOfItemsWithConflicts()
}
}