From d133858f584c38cebe69c78acb9b7d027361ca48 Mon Sep 17 00:00:00 2001 From: amhsirak Date: Thu, 27 Nov 2025 00:05:01 +0530 Subject: [PATCH] fix: format --- src/components/robot/pages/RobotEditPage.tsx | 27 ++++++++++---------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/src/components/robot/pages/RobotEditPage.tsx b/src/components/robot/pages/RobotEditPage.tsx index 3a63f8f1..178c5ad3 100644 --- a/src/components/robot/pages/RobotEditPage.tsx +++ b/src/components/robot/pages/RobotEditPage.tsx @@ -500,7 +500,7 @@ export const RobotEditPage = ({ handleStart }: RobotSettingsProps) => { {scrapeListLimits.map((limitInfo, index) => { // Get the corresponding scrapeList action to extract its name const scrapeListAction = robot?.recording?.workflow?.[limitInfo.pairIndex]?.what?.[limitInfo.actionIndex]; - const actionName = + const actionName = scrapeListAction?.name || `List Limit ${index + 1}`; @@ -821,20 +821,19 @@ export const RobotEditPage = ({ handleStart }: RobotSettingsProps) => { onChange={(e) => handleTargetUrlChange(e.target.value)} style={{ marginBottom: "20px" }} /> - {renderScrapeListLimitFields() && ( - <> - - {renderScrapeListLimitFields()} - -)} - -{renderActionNameFields() && ( - <> - - {renderActionNameFields()} - -)} + {renderScrapeListLimitFields() && ( + <> + + {renderScrapeListLimitFields()} + + )} + {renderActionNameFields() && ( + <> + + {renderActionNameFields()} + + )} )}