chore: lint
This commit is contained in:
@@ -103,7 +103,7 @@ export const CollapsibleRow = ({ row, handleDelete, isOpen, currentLog, abortRun
|
|||||||
} else {
|
} else {
|
||||||
switch (column.id) {
|
switch (column.id) {
|
||||||
case 'runStatus':
|
case 'runStatus':
|
||||||
return (
|
return (
|
||||||
<TableCell key={column.id} align={column.align}>
|
<TableCell key={column.id} align={column.align}>
|
||||||
{row.status === 'success' && <Chip label={t('runs_table.run_status_chips.success')} color="success" variant="outlined" />}
|
{row.status === 'success' && <Chip label={t('runs_table.run_status_chips.success')} color="success" variant="outlined" />}
|
||||||
{row.status === 'running' && <Chip label={t('runs_table.run_status_chips.running')} color="warning" variant="outlined" />}
|
{row.status === 'running' && <Chip label={t('runs_table.run_status_chips.running')} color="warning" variant="outlined" />}
|
||||||
@@ -148,11 +148,11 @@ export const CollapsibleRow = ({ row, handleDelete, isOpen, currentLog, abortRun
|
|||||||
/>
|
/>
|
||||||
<TextField
|
<TextField
|
||||||
label={
|
label={
|
||||||
row.runByUserId
|
row.runByUserId
|
||||||
? t('runs_table.run_settings_modal.labels.run_by_user')
|
? t('runs_table.run_settings_modal.labels.run_by_user')
|
||||||
: row.runByScheduleId
|
: row.runByScheduleId
|
||||||
? t('runs_table.run_settings_modal.labels.run_by_schedule')
|
? t('runs_table.run_settings_modal.labels.run_by_schedule')
|
||||||
: t('runs_table.run_settings_modal.labels.run_by_api')
|
: t('runs_table.run_settings_modal.labels.run_by_api')
|
||||||
}
|
}
|
||||||
value={runByLabel}
|
value={runByLabel}
|
||||||
InputProps={{ readOnly: true }}
|
InputProps={{ readOnly: true }}
|
||||||
@@ -161,10 +161,10 @@ export const CollapsibleRow = ({ row, handleDelete, isOpen, currentLog, abortRun
|
|||||||
<Typography variant="body1">
|
<Typography variant="body1">
|
||||||
{t('runs_table.run_settings_modal.labels.run_type')}:
|
{t('runs_table.run_settings_modal.labels.run_type')}:
|
||||||
</Typography>
|
</Typography>
|
||||||
<RunTypeChip
|
<RunTypeChip
|
||||||
runByUserId={row.runByUserId}
|
runByUserId={row.runByUserId}
|
||||||
runByScheduledId={row.runByScheduleId}
|
runByScheduledId={row.runByScheduleId}
|
||||||
runByAPI={row.runByAPI ?? false}
|
runByAPI={row.runByAPI ?? false}
|
||||||
/>
|
/>
|
||||||
</Box>
|
</Box>
|
||||||
</Box>
|
</Box>
|
||||||
|
|||||||
Reference in New Issue
Block a user