feat: has screenshot action
This commit is contained in:
@@ -84,6 +84,10 @@ export const RightSidePanel: React.FC<RightSidePanelProps> = ({ 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
|
||||
|
||||
Reference in New Issue
Block a user