Fix issue where removing a note causes next selected note to trigger save
This commit is contained in:
@@ -184,9 +184,7 @@ angular.module('app')
|
||||
}
|
||||
|
||||
if(oldNote && oldNote != note) {
|
||||
if(oldNote.dirty) {
|
||||
this.saveNote(oldNote);
|
||||
} else if(oldNote.dummy) {
|
||||
if(oldNote.dummy) {
|
||||
this.remove()(oldNote);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user