Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
feat(breadcrumb): indicate archived in separator menu
Elian Doran5449d033bf95
diff --git a/apps/client/src/widgets/layout/Breadcrumb.css b/apps/client/src/widgets/layout/Breadcrumb.cssindex 494483e0d4..76d5095c00 100644--- a/apps/client/src/widgets/layout/Breadcrumb.css+++ b/apps/client/src/widgets/layout/Breadcrumb.css@@ -21,10 +21,10 @@&:hover {color: var(--custom-color, inherit);}+ }- &.archived {- opacity: 0.6;- }+ .archived {+ opacity: 0.6;}> span,diff --git a/apps/client/src/widgets/layout/Breadcrumb.tsx b/apps/client/src/widgets/layout/Breadcrumb.tsxindex c4e51b5122..aa7e484dcc 100644--- a/apps/client/src/widgets/layout/Breadcrumb.tsx+++ b/apps/client/src/widgets/layout/Breadcrumb.tsx@@ -199,7 +199,7 @@ function BreadcrumbSeparatorDropdownContent({ notePath, noteContext, activeNotePreturn <li key={note.noteId}><FormListItemicon={note.getIcon()}- className={note.getColorClass()}+ className={clsx(note.getColorClass(), note.isArchived && "archived")}onClick={() => noteContext?.setNote(childNotePath)}>{childNotePath !== activeNotePath