feat: add robot limit in robot settings modal
This commit is contained in:
@@ -120,6 +120,17 @@ export const RobotSettingsModal = ({ isOpen, handleStart, handleClose, initialSe
|
|||||||
}}
|
}}
|
||||||
style={{ marginBottom: '20px' }}
|
style={{ marginBottom: '20px' }}
|
||||||
/>
|
/>
|
||||||
|
{robot.recording.workflow?.[0]?.what?.[0]?.args?.[0]?.limit !== undefined && (
|
||||||
|
<TextField
|
||||||
|
label="Robot Limit"
|
||||||
|
type="number"
|
||||||
|
value={robot.recording.workflow[0].what[0].args[0].limit || ''}
|
||||||
|
InputProps={{
|
||||||
|
readOnly: true,
|
||||||
|
}}
|
||||||
|
style={{ marginBottom: '20px' }}
|
||||||
|
/>
|
||||||
|
)}
|
||||||
<TextField
|
<TextField
|
||||||
label="Created By User"
|
label="Created By User"
|
||||||
key="Created By User"
|
key="Created By User"
|
||||||
|
|||||||
Reference in New Issue
Block a user