From 4e3b47d1f135cb40d222b6a84ff79af980aa8983 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Tue, 8 Oct 2024 20:52:25 +0530 Subject: [PATCH] feat: use updatedAt --- 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 15c9fc82..251356bd 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' | 'createdAt' | 'edit' | 'update_date' | 'delete' | 'schedule' | 'integrate'; + id: 'interpret' | 'name' | 'createdAt' | 'edit' | 'updatedAt' | 'delete' | 'schedule' | 'integrate'; label: string; minWidth?: number; align?: 'right'; @@ -48,7 +48,7 @@ const columns: readonly Column[] = [ minWidth: 80, }, { - id: 'update_date', + id: 'updatedAt', label: 'Updated at', minWidth: 80, //format: (value: string) => value.toLocaleString('en-US'), @@ -64,7 +64,7 @@ interface Data { id: number; name: string; createdAt: string; - update_date: string; + updatedAt: string; content: WorkflowFile; params: string[]; }