mirror of
https://github.com/zadam/trilium.git
synced 2025-12-17 21:04:24 +01:00
feat(layout/search_properties): expand search properties
This commit is contained in:
parent
5a09a80902
commit
7a1ff42d67
@ -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>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user