mirror of
https://github.com/zadam/trilium.git
synced 2025-11-16 02:05:53 +01:00
grey out archived items in the tree
This commit is contained in:
@@ -156,6 +156,10 @@ async function getExtraClasses(note) {
|
||||
extraClasses.push(utils.getMimeTypeClass(note.mime));
|
||||
}
|
||||
|
||||
if (note.archived) {
|
||||
extraClasses.push("archived");
|
||||
}
|
||||
|
||||
return extraClasses.join(" ");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user