diff --git a/src/components/organisms/RightSidePanel.tsx b/src/components/organisms/RightSidePanel.tsx index 28174576..44a5a3be 100644 --- a/src/components/organisms/RightSidePanel.tsx +++ b/src/components/organisms/RightSidePanel.tsx @@ -84,6 +84,14 @@ export const RightSidePanel: React.FC = ({ onFinishCapture }, [id, socket, workflowHandler]); useEffect(() => { + const hasPairs = workflow.workflow.length > 0; + + if (!hasPairs) { + setShowCaptureList(true); + setShowCaptureScreenshot(true); + setShowCaptureText(true); + return; + } const hasScrapeListAction = workflow.workflow.some(pair => pair.what.some(action => action.action === "scrapeList") );