Merge pull request #897 from getmaxun/extra-divider
fix: conditionally render action names & list limits
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user