feat(layout/search_properties): expand search properties

This commit is contained in:
Elian Doran 2025-12-14 21:29:10 +02:00
parent 5a09a80902
commit 7a1ff42d67
No known key found for this signature in database

View File

@ -21,9 +21,10 @@ export default function NoteTitleActions() {
} }
function SearchProperties({ note, ntxId }: { note: FNote, ntxId: string | null | undefined }) { function SearchProperties({ note, ntxId }: { note: FNote, ntxId: string | null | undefined }) {
return ( return (note &&
<Collapsible <Collapsible
title={t("search_definition.search_parameters")} title={t("search_definition.search_parameters")}
initiallyExpanded={note.isInHiddenSubtree()} // not saved searches
> >
<SearchDefinitionTab note={note} ntxId={ntxId} hidden={false} /> <SearchDefinitionTab note={note} ntxId={ntxId} hidden={false} />
</Collapsible> </Collapsible>