mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 05:15:59 +01:00
always keep all the ancestors in the cache WIP
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user