renamed currentNote to activeNote to be consistent with frontend API

This commit is contained in:
zadam
2019-03-14 20:21:27 +01:00
parent 0d0464549f
commit ef40c66344
22 changed files with 117 additions and 117 deletions

View File

@@ -90,7 +90,7 @@ function AttributesModel() {
}
this.loadAttributes = async function() {
const noteId = noteDetailService.getCurrentNoteId();
const noteId = noteDetailService.getActiveNoteId();
const attributes = await server.get('notes/' + noteId + '/attributes');
@@ -136,7 +136,7 @@ function AttributesModel() {
self.updateAttributePositions();
const noteId = noteDetailService.getCurrentNoteId();
const noteId = noteDetailService.getActiveNoteId();
const attributesToSave = self.ownedAttributes()
.map(attribute => attribute())