diff --git a/apps/client/src/widgets/ribbon/SearchDefinitionTab.tsx b/apps/client/src/widgets/ribbon/SearchDefinitionTab.tsx
index 89f62be73..dffd1b024 100644
--- a/apps/client/src/widgets/ribbon/SearchDefinitionTab.tsx
+++ b/apps/client/src/widgets/ribbon/SearchDefinitionTab.tsx
@@ -77,7 +77,8 @@ const SEARCH_OPTIONS: SearchOption[] = [
attributeType: "label",
icon: "bx bx-archive",
label: t("search_definition.include_archived"),
- tooltip: t("search_definition.include_archived_notes_description")
+ tooltip: t("search_definition.include_archived_notes_description"),
+ component: IncludeArchivedNotesOption
},
{
attributeName: "orderBy",
@@ -428,4 +429,11 @@ function DebugOption({ ...restProps }: SearchOptionProps) {
>}
{...restProps}
/>
+}
+
+function IncludeArchivedNotesOption({ ...restProps }: SearchOptionProps) {
+ return