From aaeddb7a0331d6d1c9f8a476f23c9106f03d2d78 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Tue, 8 Oct 2024 18:36:19 +0530 Subject: [PATCH] feat: has scrapeSchema action --- src/components/organisms/RightSidePanel.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/organisms/RightSidePanel.tsx b/src/components/organisms/RightSidePanel.tsx index 1de4628d..4a802388 100644 --- a/src/components/organisms/RightSidePanel.tsx +++ b/src/components/organisms/RightSidePanel.tsx @@ -88,6 +88,10 @@ export const RightSidePanel: React.FC = ({ onFinishCapture pair.what.some(action => action.action === "screenshot") ); + const hasScrapeSchemaAction = workflow.workflow.some(pair => + pair.what.some(action => action.action === "scrapeSchema") + ); + const handleTextLabelChange = (id: number, label: string, listId?: number, fieldKey?: string) => { if (listId !== undefined && fieldKey !== undefined) { // Prevent editing if the field is confirmed