Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
zadam committed Oct 24, 2023
1 parent bacae67 commit 4660c15
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/services/search/note_set.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 4660c15

Please sign in to comment.