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,12 +821,21 @@ export const RobotEditPage = ({ handleStart }: RobotSettingsProps) => {
onChange={(e) => handleTargetUrlChange(e.target.value)} onChange={(e) => handleTargetUrlChange(e.target.value)}
style={{ marginBottom: "20px" }} style={{ marginBottom: "20px" }}
/> />
{renderScrapeListLimitFields() && (
<>
<Divider /> <Divider />
{renderScrapeListLimitFields()} {renderScrapeListLimitFields()}
</>
)}
{renderActionNameFields() && (
<>
<Divider /> <Divider />
{renderActionNameFields()} {renderActionNameFields()}
</> </>
)} )}
</>
)}
</Box> </Box>
</> </>
</RobotConfigPage> </RobotConfigPage>