Merge pull request #135 from getmaxun/textfield-overlap

fix: robot settings' text field label & text overlap
This commit is contained in:
Karishma Shukla
2024-11-06 17:43:56 +05:30
committed by GitHub

View File

@@ -104,6 +104,7 @@ export const RobotSettingsModal = ({ isOpen, handleStart, handleClose, initialSe
<> <>
<TextField <TextField
label="Robot Target URL" label="Robot Target URL"
key="Robot Target URL"
value={targetUrl} value={targetUrl}
InputProps={{ InputProps={{
readOnly: true, readOnly: true,
@@ -112,6 +113,7 @@ export const RobotSettingsModal = ({ isOpen, handleStart, handleClose, initialSe
/> />
<TextField <TextField
label="Robot ID" label="Robot ID"
key="Robot ID"
value={robot.recording_meta.id} value={robot.recording_meta.id}
InputProps={{ InputProps={{
readOnly: true, readOnly: true,
@@ -120,7 +122,8 @@ export const RobotSettingsModal = ({ isOpen, handleStart, handleClose, initialSe
/> />
<TextField <TextField
label="Created By User" label="Created By User"
value={userEmail} key="Created By User"
value={userEmail ? userEmail : ''}
InputProps={{ InputProps={{
readOnly: true, readOnly: true,
}} }}
@@ -128,6 +131,7 @@ export const RobotSettingsModal = ({ isOpen, handleStart, handleClose, initialSe
/> />
<TextField <TextField
label="Robot Created At" label="Robot Created At"
key="Robot Created At"
value={robot.recording_meta.createdAt} value={robot.recording_meta.createdAt}
InputProps={{ InputProps={{
readOnly: true, readOnly: true,