note actions now work again

This commit is contained in:
zadam
2019-05-05 18:24:59 +02:00
parent b1d0cef33b
commit 9a97fe09ee
8 changed files with 49 additions and 30 deletions

View File

@@ -148,13 +148,11 @@ async function loadNoteDetail(noteId, newTab = false) {
if (utils.isDesktop()) {
// needs to happen after loading the note itself because it references active noteId
// FIXME
//attributeService.refreshAttributes();
ctx.attributes.refreshAttributes();
}
else {
// mobile usually doesn't need attributes so we just invalidate
// FIXME
//attributeService.invalidateAttributes();
ctx.attributes.invalidateAttributes();
}
ctx.updateNoteView();