feat: debug mode
This commit is contained in:
@@ -66,13 +66,12 @@ export const RunSettingsModal = ({ isOpen, handleStart, handleClose, isTask, par
|
|||||||
|
|
||||||
<FormControlLabel
|
<FormControlLabel
|
||||||
control={<Switch checked={showInterpreterSettings} onChange={() => setShowInterpreterSettings(!showInterpreterSettings)} />}
|
control={<Switch checked={showInterpreterSettings} onChange={() => setShowInterpreterSettings(!showInterpreterSettings)} />}
|
||||||
label="Show Interpreter Settings"
|
label="Developer Mode Settings"
|
||||||
sx={{ margin: '20px 0px' }}
|
sx={{ margin: '20px 0px' }}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
{showInterpreterSettings && (
|
{showInterpreterSettings && (
|
||||||
<React.Fragment>
|
<React.Fragment>
|
||||||
<Typography sx={{ margin: '20px 0px' }}>Interpreter settings:</Typography>
|
|
||||||
<TextField
|
<TextField
|
||||||
sx={{ marginBottom: '15px' }}
|
sx={{ marginBottom: '15px' }}
|
||||||
type="number"
|
type="number"
|
||||||
@@ -116,7 +115,7 @@ export const RunSettingsModal = ({ isOpen, handleStart, handleClose, isTask, par
|
|||||||
</React.Fragment>
|
</React.Fragment>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<Button onClick={() => handleStart(settings)} sx={{ marginTop: '20px' }}>Start</Button>
|
<Button variant="contained" onClick={() => handleStart(settings)} sx={{ marginTop: '20px' }}>Run Robot</Button>
|
||||||
</div>
|
</div>
|
||||||
</GenericModal>
|
</GenericModal>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user