fix attribute loading for mobile

This commit is contained in:
azivner
2018-12-24 23:08:43 +01:00
parent f8d32d64f5
commit 246dfbdcb4
2 changed files with 19 additions and 2 deletions

View File

@@ -182,6 +182,10 @@ async function loadNoteDetail(noteId) {
// needs to happen after loading the note itself because it references current noteId
attributeService.refreshAttributes();
}
else {
// mobile usually doesn't need attributes so we just invalidate
attributeService.invalidateAttributes();
}
if (isNewNoteCreated) {
isNewNoteCreated = false;