feat: custom status
This commit is contained in:
@@ -16,7 +16,7 @@ import { Accordion, AccordionSummary, AccordionDetails, Typography } from '@mui/
|
|||||||
import ExpandMoreIcon from '@mui/icons-material/ExpandMore';
|
import ExpandMoreIcon from '@mui/icons-material/ExpandMore';
|
||||||
|
|
||||||
interface Column {
|
interface Column {
|
||||||
id: 'status' | 'name' | 'startedAt' | 'finishedAt' | 'runId' | 'delete' | 'runBy';
|
id: 'robotStatus' | 'name' | 'startedAt' | 'finishedAt' | 'runId' | 'delete' | 'runBy';
|
||||||
label: string;
|
label: string;
|
||||||
minWidth?: number;
|
minWidth?: number;
|
||||||
align?: 'right';
|
align?: 'right';
|
||||||
@@ -24,7 +24,7 @@ interface Column {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export const columns: readonly Column[] = [
|
export const columns: readonly Column[] = [
|
||||||
{ id: 'status', label: 'Status', minWidth: 80 },
|
{ id: 'robotStatus', label: 'Status', minWidth: 80 },
|
||||||
{ id: 'name', label: 'Robot Name', minWidth: 80 },
|
{ id: 'name', label: 'Robot Name', minWidth: 80 },
|
||||||
{ id: 'startedAt', label: 'Started at', minWidth: 80 },
|
{ id: 'startedAt', label: 'Started at', minWidth: 80 },
|
||||||
{ id: 'finishedAt', label: 'Finished at', minWidth: 80 },
|
{ id: 'finishedAt', label: 'Finished at', minWidth: 80 },
|
||||||
|
|||||||
Reference in New Issue
Block a user