Merge pull request #897 from getmaxun/extra-divider

fix: conditionally render action names & list limits
This commit is contained in:
Karishma Shukla
2025-11-30 17:45:50 +05:30
committed by GitHub

View File

@@ -821,10 +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" }}
/> />
<Divider /> {renderScrapeListLimitFields() && (
{renderScrapeListLimitFields()} <>
<Divider /> <Divider />
{renderActionNameFields()} {renderScrapeListLimitFields()}
</>
)}
{renderActionNameFields() && (
<>
<Divider />
{renderActionNameFields()}
</>
)}
</> </>
)} )}
</Box> </Box>