fix: format

This commit is contained in:
amhsirak
2025-11-27 00:05:01 +05:30
parent 9b919d47d7
commit d133858f58

View File

@@ -500,7 +500,7 @@ export const RobotEditPage = ({ handleStart }: RobotSettingsProps) => {
{scrapeListLimits.map((limitInfo, index) => { {scrapeListLimits.map((limitInfo, index) => {
// Get the corresponding scrapeList action to extract its name // Get the corresponding scrapeList action to extract its name
const scrapeListAction = robot?.recording?.workflow?.[limitInfo.pairIndex]?.what?.[limitInfo.actionIndex]; const scrapeListAction = robot?.recording?.workflow?.[limitInfo.pairIndex]?.what?.[limitInfo.actionIndex];
const actionName = const actionName =
scrapeListAction?.name || scrapeListAction?.name ||
`List Limit ${index + 1}`; `List Limit ${index + 1}`;
@@ -821,20 +821,19 @@ export const RobotEditPage = ({ handleStart }: RobotSettingsProps) => {
onChange={(e) => handleTargetUrlChange(e.target.value)} onChange={(e) => handleTargetUrlChange(e.target.value)}
style={{ marginBottom: "20px" }} style={{ marginBottom: "20px" }}
/> />
{renderScrapeListLimitFields() && ( {renderScrapeListLimitFields() && (
<> <>
<Divider /> <Divider />
{renderScrapeListLimitFields()} {renderScrapeListLimitFields()}
</> </>
)} )}
{renderActionNameFields() && (
<>
<Divider />
{renderActionNameFields()}
</>
)}
{renderActionNameFields() && (
<>
<Divider />
{renderActionNameFields()}
</>
)}
</> </>
)} )}
</Box> </Box>