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(collections/list): enable "Show archived notes" checkmark in collections
Elian Doran454310c3e45d
diff --git a/apps/client/src/widgets/ribbon/CollectionPropertiesTab.tsx b/apps/client/src/widgets/ribbon/CollectionPropertiesTab.tsxindex 9d8113b3c1..e961ae1f0e 100644--- a/apps/client/src/widgets/ribbon/CollectionPropertiesTab.tsx+++ b/apps/client/src/widgets/ribbon/CollectionPropertiesTab.tsx@@ -59,13 +59,12 @@ function CollectionTypeSwitcher({ viewType, setViewType }: { viewType: string, sfunction BookProperties({ viewType, note, properties }: { viewType: ViewTypeOptions, note: FNote, properties: BookProperty[] }) {return (<>- {properties.map(property => (+ {properties.map(property => (<div className={`type-${property}`}>- {mapPropertyView({ note, property })}+ {mapPropertyView({ note, property })}</div>- ))}+ ))}- {viewType !== "list" && viewType !== "grid" && (<CheckboxPropertyViewnote={note} property={{bindToLabel: "includeArchived",@@ -73,7 +72,6 @@ function BookProperties({ viewType, note, properties }: { viewType: ViewTypeOptitype: "checkbox"}}/>- )}</>)}