feat: add schedule to column array

This commit is contained in:
karishmas6
2024-09-10 03:15:56 +05:30
parent 6c11825ffc
commit a5f26c7e31

View File

@@ -15,7 +15,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' | 'create_date' | 'edit' | 'pairs' | 'update_date' | 'delete'; id: 'interpret' | 'name' | 'create_date' | 'edit' | 'pairs' | 'update_date' | 'delete' | 'schedule';
label: string; label: string;
minWidth?: number; minWidth?: number;
align?: 'right'; align?: 'right';
@@ -41,6 +41,11 @@ const columns: readonly Column[] = [
label: 'Pairs', label: 'Pairs',
minWidth: 80, minWidth: 80,
}, },
{
id: 'schedule',
label: 'Schedule',
minWidth: 80,
},
{ {
id: 'update_date', id: 'update_date',
label: 'Updated at', label: 'Updated at',