feat: disable createdAt updatedAt

This commit is contained in:
karishmas6
2024-10-10 23:00:39 +05:30
parent d0ca0659a0
commit 0d95f7c753

View File

@@ -16,7 +16,7 @@ import { useGlobalInfoStore } from "../../context/globalInfo";
import { deleteRecordingFromStorage, getStoredRecordings } from "../../api/storage"; import { deleteRecordingFromStorage, getStoredRecordings } from "../../api/storage";
interface Column { interface Column {
id: 'interpret' | 'name' | 'createdAt' | 'updatedAt' | 'delete' | 'schedule' | 'integrate'; id: 'interpret' | 'name' | 'delete' | 'schedule' | 'integrate';
label: string; label: string;
minWidth?: number; minWidth?: number;
align?: 'right'; align?: 'right';
@@ -26,12 +26,12 @@ interface Column {
const columns: readonly Column[] = [ const columns: readonly Column[] = [
{ id: 'interpret', label: 'Run', minWidth: 80 }, { id: 'interpret', label: 'Run', minWidth: 80 },
{ id: 'name', label: 'Name', minWidth: 80 }, { id: 'name', label: 'Name', minWidth: 80 },
{ // {
id: 'createdAt', // id: 'createdAt',
label: 'Created at', // label: 'Created at',
minWidth: 80, // minWidth: 80,
//format: (value: string) => value.toLocaleString('en-US'), // //format: (value: string) => value.toLocaleString('en-US'),
}, // },
// { // {
// id: 'edit', // id: 'edit',
// label: 'Edit', // label: 'Edit',
@@ -47,12 +47,12 @@ const columns: readonly Column[] = [
label: 'Integrate', label: 'Integrate',
minWidth: 80, minWidth: 80,
}, },
{ // {
id: 'updatedAt', // id: 'updatedAt',
label: 'Updated at', // label: 'Updated at',
minWidth: 80, // minWidth: 80,
//format: (value: string) => value.toLocaleString('en-US'), // //format: (value: string) => value.toLocaleString('en-US'),
}, // },
{ {
id: 'delete', id: 'delete',
label: 'Delete', label: 'Delete',