wrapping some components.

This commit is contained in:
killian-larcher
2024-11-11 19:12:34 +01:00
parent 7dcb8f0eed
commit 262322cfa6
13 changed files with 145 additions and 68 deletions
+4 -1
View File
@@ -18,7 +18,7 @@ export type Backup = {
status: "pending" | "processing" | "success" | "failed"
}
export const columns: ColumnDef<Backup>[] = [
export const backupColumns: ColumnDef<Backup>[] = [
{
accessorKey: "id",
header: "Reference",
@@ -26,6 +26,9 @@ export const columns: ColumnDef<Backup>[] = [
{
accessorKey: "createdAt",
header: "Created At",
cell: ({row}) => {
return new Date(row.getValue("createdAt")).toLocaleString("fr-FR");
},
},
{
accessorKey: "status",