Skip to content

Build your personal knowledge base with Trilium Notes

chore(note_bars/collection): address change request

Elian Dorane9ac69b8e589
diff --git a/apps/client/src/widgets/note_bars/CollectionProperties.tsx b/apps/client/src/widgets/note_bars/CollectionProperties.tsx
index 17e4242246..bf05a131e7 100644
--- a/apps/client/src/widgets/note_bars/CollectionProperties.tsx
+++ b/apps/client/src/widgets/note_bars/CollectionProperties.tsx
@@ -69,7 +69,7 @@ function ViewOptions({ note, viewType }: { note: FNote, viewType: ViewTypeOption
hideToggleArrow
>
{properties.map(property => (
- <ViewProperty key={property} note={note} property={property} />
+ <ViewProperty key={property.label} note={note} property={property} />
))}
{properties.length > 0 && <FormDropdownDivider />}