diff --git a/src/components/organisms/RightSidePanel.tsx b/src/components/organisms/RightSidePanel.tsx index 64b0e2c2..b72e39bc 100644 --- a/src/components/organisms/RightSidePanel.tsx +++ b/src/components/organisms/RightSidePanel.tsx @@ -84,6 +84,10 @@ export const RightSidePanel: React.FC = ({ onFinishCapture pair.what.some(action => action.action === "scrapeList") ); + const hasScreenshotAction = workflow.workflow.some(pair => + pair.what.some(action => action.action === "screenshot") + ); + const handleTextLabelChange = (id: number, label: string, listId?: number, fieldKey?: string) => { if (listId !== undefined && fieldKey !== undefined) { // Prevent editing if the field is confirmed