+
>, default: null },
+ useSearchWorker: { type: Boolean, default: true },
});
library.add(faEye, faEyeSlash);
@@ -200,6 +201,7 @@ function onToggle() {
:current-panel="localSectionsById"
:query="query"
:query-pending="queryPending"
+ :use-worker="useSearchWorker"
@onQuery="(q) => (query = q)"
@onResults="onResults" />
diff --git a/client/src/components/Panels/ToolPanel.test.ts b/client/src/components/Panels/ToolPanel.test.ts
index 1541fa67be4e..33bd2dd290b1 100644
--- a/client/src/components/Panels/ToolPanel.test.ts
+++ b/client/src/components/Panels/ToolPanel.test.ts
@@ -44,6 +44,7 @@ describe("ToolPanel", () => {
editorWorkflows: null,
dataManagers: null,
moduleSections: null,
+ useSearchWorker: false,
},
localVue,
stubs: {
diff --git a/client/src/components/Panels/ToolPanel.vue b/client/src/components/Panels/ToolPanel.vue
index fc9b9db2aa60..fb75fb39295d 100644
--- a/client/src/components/Panels/ToolPanel.vue
+++ b/client/src/components/Panels/ToolPanel.vue
@@ -20,6 +20,7 @@ const props = defineProps({
editorWorkflows: { type: Array, default: null },
dataManagers: { type: Array, default: null },
moduleSections: { type: Array, default: null },
+ useSearchWorker: { type: Boolean, default: true },
});
const emit = defineEmits<{
@@ -201,6 +202,7 @@ watch(
:editor-workflows="editorWorkflows"
:data-managers="dataManagers"
:module-sections="moduleSections"
+ :use-search-worker="useSearchWorker"
@updatePanelView="updatePanelView"
@onInsertTool="onInsertTool"
@onInsertModule="onInsertModule"