diff --git a/apps/client/src/widgets/ribbon/SearchDefinitionOptions.tsx b/apps/client/src/widgets/ribbon/SearchDefinitionOptions.tsx index 02b52bf9e3..c62b538af5 100644 --- a/apps/client/src/widgets/ribbon/SearchDefinitionOptions.tsx +++ b/apps/client/src/widgets/ribbon/SearchDefinitionOptions.tsx @@ -1,4 +1,5 @@ import { AttributeType } from "@triliumnext/commons"; +import clsx from "clsx"; import { ComponentChildren, VNode } from "preact"; import { useEffect, useMemo, useRef } from "preact/hooks"; @@ -106,8 +107,9 @@ export const SEARCH_OPTIONS: SearchOption[] = [ } ]; -function SearchOption({ note, title, titleIcon, children, help, attributeName, attributeType, additionalAttributesToDelete }: { +function SearchOption({ note, className, title, titleIcon, children, help, attributeName, attributeType, additionalAttributesToDelete }: { note: FNote; + className?: string; title: string, titleIcon?: string, children?: ComponentChildren, @@ -117,7 +119,7 @@ function SearchOption({ note, title, titleIcon, children, help, attributeName, a additionalAttributesToDelete?: { type: "label" | "relation", name: string }[] }) { return ( -