From 8ce724667366f02563225477315e8221acc3e8d1 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Tue, 8 Oct 2024 20:51:12 +0530 Subject: [PATCH] feat: use createdAt --- src/components/molecules/RecordingsTable.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/molecules/RecordingsTable.tsx b/src/components/molecules/RecordingsTable.tsx index 08411bdb..15c9fc82 100644 --- a/src/components/molecules/RecordingsTable.tsx +++ b/src/components/molecules/RecordingsTable.tsx @@ -16,7 +16,7 @@ import { useGlobalInfoStore } from "../../context/globalInfo"; import { deleteRecordingFromStorage, getStoredRecordings } from "../../api/storage"; interface Column { - id: 'interpret' | 'name' | 'create_date' | 'edit' | 'update_date' | 'delete' | 'schedule' | 'integrate'; + id: 'interpret' | 'name' | 'createdAt' | 'edit' | 'update_date' | 'delete' | 'schedule' | 'integrate'; label: string; minWidth?: number; align?: 'right'; @@ -27,7 +27,7 @@ const columns: readonly Column[] = [ { id: 'interpret', label: 'Run', minWidth: 80 }, { id: 'name', label: 'Name', minWidth: 80 }, { - id: 'create_date', + id: 'createdAt', label: 'Created at', minWidth: 80, //format: (value: string) => value.toLocaleString('en-US'), @@ -63,7 +63,7 @@ const columns: readonly Column[] = [ interface Data { id: number; name: string; - create_date: string; + createdAt: string; update_date: string; content: WorkflowFile; params: string[];