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

@@ -9,10 +9,10 @@ const $refreshButton = $('#note-detail-search-refresh-results-button');
function show() {
$component.show();
console.log(noteDetailService.getCurrentNote());
console.log(noteDetailService.getActiveNote());
try {
const json = JSON.parse(noteDetailService.getCurrentNote().noteContent.content);
const json = JSON.parse(noteDetailService.getActiveNote().noteContent.content);
$searchString.val(json.searchString);
}