From 79ed32e306a7e0c538fb42099af4dfd09d8420b5 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Mon, 28 Oct 2024 20:41:05 +0530 Subject: [PATCH] feat: settings column --- src/components/molecules/RunsTable.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/molecules/RunsTable.tsx b/src/components/molecules/RunsTable.tsx index a19724d6..7feb25c1 100644 --- a/src/components/molecules/RunsTable.tsx +++ b/src/components/molecules/RunsTable.tsx @@ -16,7 +16,7 @@ import { Accordion, AccordionSummary, AccordionDetails, Typography } from '@mui/ import ExpandMoreIcon from '@mui/icons-material/ExpandMore'; interface Column { - id: 'robotStatus' | 'name' | 'startedAt' | 'finishedAt' | 'runId' | 'delete' | 'runBy'; + id: 'runStatus' | 'name' | 'startedAt' | 'finishedAt' | 'runId' | 'delete' | 'runBy' | 'settings'; label: string; minWidth?: number; align?: 'right'; @@ -24,13 +24,14 @@ interface Column { } export const columns: readonly Column[] = [ - { id: 'robotStatus', label: 'Status', minWidth: 80 }, + { id: 'runStatus', label: 'Status', minWidth: 80 }, { id: 'name', label: 'Robot Name', minWidth: 80 }, { id: 'startedAt', label: 'Started at', minWidth: 80 }, { id: 'finishedAt', label: 'Finished at', minWidth: 80 }, { id: 'runBy', label: 'Run By', minWidth: 80,}, { id: 'runId', label: 'Run ID', minWidth: 80 }, // { id: 'task', label: 'Task', minWidth: 80 }, + { id: 'settings', label: 'Settings', minWidth: 80 }, { id: 'delete', label: 'Delete', minWidth: 80 }, ];