mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
Working on project front side.
This commit is contained in:
@@ -12,12 +12,9 @@ import {
|
||||
import {Button} from "@/components/ui/button";
|
||||
import {Download, MoreHorizontal, Trash2} from "lucide-react";
|
||||
import {ReloadIcon} from "@radix-ui/react-icons";
|
||||
import {Backup} from "@prisma/client";
|
||||
|
||||
|
||||
export type Backup = {
|
||||
id: string
|
||||
createdAt: string
|
||||
status: "pending" | "processing" | "success" | "failed"
|
||||
}
|
||||
|
||||
export const backupColumns: ColumnDef<Backup>[] = [
|
||||
{
|
||||
@@ -41,7 +38,6 @@ export const backupColumns: ColumnDef<Backup>[] = [
|
||||
{
|
||||
id: "actions",
|
||||
cell: ({row}) => {
|
||||
const payment = row.original
|
||||
|
||||
return (
|
||||
<DropdownMenu>
|
||||
|
||||
@@ -6,20 +6,17 @@ import {
|
||||
DropdownMenu,
|
||||
DropdownMenuContent,
|
||||
DropdownMenuItem,
|
||||
DropdownMenuLabel, DropdownMenuSeparator,
|
||||
DropdownMenuLabel,
|
||||
DropdownMenuTrigger
|
||||
} from "@/components/ui/dropdown-menu";
|
||||
import {Button} from "@/components/ui/button";
|
||||
import {Download, MoreHorizontal, Trash2} from "lucide-react";
|
||||
import {ReloadIcon} from "@radix-ui/react-icons";
|
||||
import {Restauration} from "@prisma/client";
|
||||
|
||||
export type Restore = {
|
||||
id: string
|
||||
createdAt: string
|
||||
status: "pending" | "processing" | "success" | "failed"
|
||||
}
|
||||
|
||||
export const restoreColumns: ColumnDef<Restore>[] = [
|
||||
|
||||
export const restoreColumns: ColumnDef<Restauration>[] = [
|
||||
{
|
||||
accessorKey: "id",
|
||||
header: "Reference",
|
||||
|
||||
Reference in New Issue
Block a user