Notes set selectedIndex value

This commit is contained in:
Mo Bitar
2018-02-06 10:22:51 -06:00
parent ad584c0dee
commit 802c01f359

View File

@@ -189,6 +189,7 @@ angular.module('app')
this.selectedNote = note;
note.conflict_of = null; // clear conflict
this.selectionMade()(note);
this.selectedIndex = this.visibleNotes().indexOf(note);
}
this.createNewNote = function() {