diff --git a/apps/client/src/widgets/ribbon/SearchDefinitionTab.tsx b/apps/client/src/widgets/ribbon/SearchDefinitionTab.tsx index 2961e32ab..ac7bf8d14 100644 --- a/apps/client/src/widgets/ribbon/SearchDefinitionTab.tsx +++ b/apps/client/src/widgets/ribbon/SearchDefinitionTab.tsx @@ -22,7 +22,7 @@ import RenameNoteBulkAction from "../bulk_actions/note/rename_note"; import { getErrorMessage } from "../../services/utils"; import "./SearchDefinitionTab.css"; -export default function SearchDefinitionTab({ note, ntxId }: TabContext) { +export default function SearchDefinitionTab({ note, ntxId, hidden }: TabContext) { const parentComponent = useContext(ParentComponent); const [ searchOptions, setSearchOptions ] = useState<{ availableOptions: SearchOption[], activeOptions: SearchOption[] }>(); const [ error, setError ] = useState<{ message: string }>(); @@ -76,7 +76,7 @@ export default function SearchDefinitionTab({ note, ntxId }: TabContext) { return (
- {note && + {note && !hidden &&