{`Export ${getCharacterLimitedString(
diff --git a/public/pages/workflow_detail/resizable_workspace.tsx b/public/pages/workflow_detail/resizable_workspace.tsx
index 8600b4d2..d681b720 100644
--- a/public/pages/workflow_detail/resizable_workspace.tsx
+++ b/public/pages/workflow_detail/resizable_workspace.tsx
@@ -14,6 +14,7 @@ import {
} from '@elastic/eui';
import {
CONFIG_STEP,
+ INSPECTOR_TAB_ID,
Workflow,
WorkflowConfig,
customStringify,
@@ -78,9 +79,13 @@ export function ResizableWorkspace(props: ResizableWorkspaceProps) {
setIsToolsPanelOpen(!isToolsPanelOpen);
};
- // ingest / search response states to be populated in the Tools panel
+ // Inspector panel state vars. Actions taken in the form can update the Inspector panel,
+ // hence we keep top-level vars here to pass to both form and inspector components.
const [ingestResponse, setIngestResponse] = useState {`Import data`} {`Extract data with expression`} {`Configure prompt`} {`Override query`} {`Edit query`} {`Edit query definition`} {`Delete resources for workflow ${getCharacterLimitedString(
@@ -602,7 +620,9 @@ export function WorkflowInputs(props: WorkflowInputsProps) {
{onIngestAndUnprovisioned ? (
'Define ingest pipeline'
- ) : onIngestAndProvisioned ? (
+ ) : onIngestAndProvisioned || onSearchAndProvisioned ? (