Skip to content

Commit 454310c

Browse files
committed
feat(collections/list): enable "Show archived notes" checkmark in collections
1 parent e51daad commit 454310c

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

apps/client/src/widgets/ribbon/CollectionPropertiesTab.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,21 +59,19 @@ function CollectionTypeSwitcher({ viewType, setViewType }: { viewType: string, s
5959
function BookProperties({ viewType, note, properties }: { viewType: ViewTypeOptions, note: FNote, properties: BookProperty[] }) {
6060
return (
6161
<>
62-
{properties.map(property => (
62+
{properties.map(property => (
6363
<div className={`type-${property}`}>
64-
{mapPropertyView({ note, property })}
64+
{mapPropertyView({ note, property })}
6565
</div>
66-
))}
66+
))}
6767

68-
{viewType !== "list" && viewType !== "grid" && (
6968
<CheckboxPropertyView
7069
note={note} property={{
7170
bindToLabel: "includeArchived",
7271
label: t("book_properties.include_archived_notes"),
7372
type: "checkbox"
7473
}}
7574
/>
76-
)}
7775
</>
7876
)
7977
}

0 commit comments

Comments
 (0)