mirror of
https://github.com/zadam/trilium.git
synced 2025-10-26 07:46:30 +01:00
refactor
This commit is contained in:
@@ -31,12 +31,7 @@ class NoteSet {
|
||||
}
|
||||
|
||||
mergeIn(anotherNoteSet) {
|
||||
for (const note of anotherNoteSet.notes) {
|
||||
if (!this.noteIdSet.has(note.noteId)) {
|
||||
this.noteIdSet.add(note.noteId);
|
||||
this.notes.push(note);
|
||||
}
|
||||
}
|
||||
this.addAll(anotherNoteSet.notes);
|
||||
}
|
||||
|
||||
minus(anotherNoteSet) {
|
||||
|
||||
Reference in New Issue
Block a user