always keep all the ancestors in the cache WIP

This commit is contained in:
zadam
2020-03-18 22:42:29 +01:00
parent 4a89df7ebf
commit 48c57c7ce7
13 changed files with 28 additions and 28 deletions

View File

@@ -135,7 +135,7 @@ export default class NoteDetailWidget extends TabAwareWidget {
const note = this.note;
if (note) {
note.getCssClass().then(cssClass => this.$widget.addClass(cssClass));
this.$widget.addClass(note.getCssClass());
this.$widget.addClass(utils.getNoteTypeClass(note.type));
this.$widget.addClass(utils.getMimeTypeClass(note.mime));