grey out archived items in the tree

This commit is contained in:
zadam
2019-10-15 19:16:44 +02:00
parent 80a6361cf1
commit 22c4859d42
5 changed files with 67 additions and 44 deletions

View File

@@ -156,6 +156,10 @@ async function getExtraClasses(note) {
extraClasses.push(utils.getMimeTypeClass(note.mime));
}
if (note.archived) {
extraClasses.push("archived");
}
return extraClasses.join(" ");
}