chore: lint
This commit is contained in:
@@ -20,7 +20,7 @@ const RunTypeChip: React.FC<RunTypeChipProps> = ({ runByUserId, runByScheduledId
|
|||||||
if (runByUserId) return <Chip label="Manual Run" color="primary" variant="outlined" />;
|
if (runByUserId) return <Chip label="Manual Run" color="primary" variant="outlined" />;
|
||||||
if (runByScheduledId) return <Chip label="Scheduled Run" color="primary" variant="outlined" />;
|
if (runByScheduledId) return <Chip label="Scheduled Run" color="primary" variant="outlined" />;
|
||||||
if (runByAPI) return <Chip label="API" color="primary" variant="outlined" />;
|
if (runByAPI) return <Chip label="API" color="primary" variant="outlined" />;
|
||||||
return <Chip label="Unknown Run Type" color="primary" variant="outlined"/>;
|
return <Chip label="Unknown Run Type" color="primary" variant="outlined" />;
|
||||||
};
|
};
|
||||||
|
|
||||||
interface CollapsibleRowProps {
|
interface CollapsibleRowProps {
|
||||||
@@ -35,12 +35,12 @@ export const CollapsibleRow = ({ row, handleDelete, isOpen, currentLog, abortRun
|
|||||||
const [open, setOpen] = useState(isOpen);
|
const [open, setOpen] = useState(isOpen);
|
||||||
const [openSettingsModal, setOpenSettingsModal] = useState(false);
|
const [openSettingsModal, setOpenSettingsModal] = useState(false);
|
||||||
const runByLabel = row.runByUserId
|
const runByLabel = row.runByUserId
|
||||||
? `User ID: ${row.runByUserId}`
|
? `User ID: ${row.runByUserId}`
|
||||||
: row.runByScheduleId
|
: row.runByScheduleId
|
||||||
? `Schedule ID: ${row.runByScheduleId}`
|
? `Schedule ID: ${row.runByScheduleId}`
|
||||||
: row.runByAPI
|
: row.runByAPI
|
||||||
? 'API'
|
? 'API'
|
||||||
: 'Unknown';
|
: 'Unknown';
|
||||||
|
|
||||||
const logEndRef = useRef<HTMLDivElement | null>(null);
|
const logEndRef = useRef<HTMLDivElement | null>(null);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user