small fixes

This commit is contained in:
zadam
2020-02-18 22:16:20 +01:00
parent d288c1b052
commit 2e3534dfb7
4 changed files with 23 additions and 6 deletions

View File

@@ -36,6 +36,12 @@ export default class TabAwareWidget extends BasicWidget {
}
}
noteTypeMimeChangedEvent({noteId}) {
if (this.noteId === noteId) {
this.refresh();
}
}
noteSwitched() {
this.refresh();
}