handle empty search note

This commit is contained in:
zadam
2019-03-20 21:01:00 +01:00
parent 616829464f
commit 9ca680f842
2 changed files with 11 additions and 2 deletions

View File

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