diff --git a/apps/dokploy/components/dashboard/overview/show-overview-backups.tsx b/apps/dokploy/components/dashboard/overview/show-overview-backups.tsx
index c7c7cbac5..4d4b71089 100644
--- a/apps/dokploy/components/dashboard/overview/show-overview-backups.tsx
+++ b/apps/dokploy/components/dashboard/overview/show-overview-backups.tsx
@@ -5,24 +5,15 @@ import {
CircuitBoard,
GlobeIcon,
Loader2,
- MoreHorizontal,
RefreshCw,
ServerIcon,
} from "lucide-react";
import Link from "next/link";
import { useMemo, useState } from "react";
-import { RestoreVolumeBackups } from "@/components/dashboard/application/volume-backups/restore-volume-backups";
-import { RestoreBackup } from "@/components/dashboard/database/backups/restore-backup";
import { DB_ENGINE_ICONS } from "@/components/icons/data-tools-icons";
import { Badge } from "@/components/ui/badge";
import { Button } from "@/components/ui/button";
import { Card } from "@/components/ui/card";
-import {
- DropdownMenu,
- DropdownMenuContent,
- DropdownMenuItem,
- DropdownMenuTrigger,
-} from "@/components/ui/dropdown-menu";
import {
Select,
SelectContent,
@@ -213,7 +204,6 @@ export const ShowOverviewBackups = () => {
Destination
Kind
Status
- Actions
@@ -226,13 +216,6 @@ export const ShowOverviewBackups = () => {
) : (
row.serviceName
);
- const canRestoreBackup =
- row.kind === "backup" && !!row.serviceOwnerId;
- const canRestoreVolumeBackup =
- row.kind === "volumeBackup" &&
- !!row.serviceOwnerId &&
- (row.serviceOwnerType === "application" ||
- row.serviceOwnerType === "compose");
return (
@@ -259,52 +242,6 @@ export const ShowOverviewBackups = () => {
)}
-
- {(canRestoreBackup || canRestoreVolumeBackup) && (
-
-
-
-
-
- {canRestoreBackup && row.serviceOwnerId && (
- e.preventDefault()}
- >
- Restore
-
- }
- />
- )}
- {canRestoreVolumeBackup &&
- row.serviceOwnerId &&
- (row.serviceOwnerType === "application" ||
- row.serviceOwnerType === "compose") && (
- e.preventDefault()}
- >
- Restore
-
- }
- />
- )}
-
-
- )}
-
);
})}
diff --git a/apps/dokploy/components/dashboard/overview/show-overview-services.tsx b/apps/dokploy/components/dashboard/overview/show-overview-services.tsx
index 30f913319..31d814d81 100644
--- a/apps/dokploy/components/dashboard/overview/show-overview-services.tsx
+++ b/apps/dokploy/components/dashboard/overview/show-overview-services.tsx
@@ -250,21 +250,21 @@ export const ShowOverviewServices = () => {
if (service.type in DB_ENGINE_ICONS) {
const Icon =
DB_ENGINE_ICONS[service.type as keyof typeof DB_ENGINE_ICONS];
- return ;
+ return ;
}
if (service.icon) {
return (
);
}
return service.type === "compose" ? (
-
+
) : (
-
+
);
};
@@ -419,7 +419,10 @@ export const ShowOverviewServices = () => {
{TYPE_LABELS[service.type]}
-
+