This commit is contained in:
Mo Bitar
2016-12-26 01:11:40 -06:00
parent 3c2e6b37c3
commit e3ea390abd
15 changed files with 82 additions and 74 deletions

View File

@@ -44,11 +44,13 @@ class ModelManager extends ItemManager {
addNote(note) {
if(!_.find(this.notes, {uuid: note.uuid})) {
this.notes.unshift(note);
this.addItem(note);
}
}
addTag(tag) {
this.tags.unshift(tag);
this.addItem(tag);
}
addTagToNote(tag, note) {