From b272f01a1885122c9fc6d83ddeba4b302188471d Mon Sep 17 00:00:00 2001
From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com>
Date: Tue, 1 Jul 2025 23:48:19 -0600
Subject: [PATCH] fix: update volume backup components for improved
functionality
- Refactored HandleVolumeBackups to use consistent naming for mount items.
- Added an AlertBlock to RestoreVolumeBackups to inform users about potential volume name conflicts.
- Updated mount retrieval logic in the mount router to enhance accuracy and efficiency in fetching volume mounts.
---
.../volume-backups/handle-volume-backups.tsx | 7 ++-----
.../volume-backups/restore-volume-backups.tsx | 4 ++++
apps/dokploy/server/api/routers/mount.ts | 17 ++++++++---------
3 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/apps/dokploy/components/dashboard/application/volume-backups/handle-volume-backups.tsx b/apps/dokploy/components/dashboard/application/volume-backups/handle-volume-backups.tsx
index f0f00bd26..cd7ca16b3 100644
--- a/apps/dokploy/components/dashboard/application/volume-backups/handle-volume-backups.tsx
+++ b/apps/dokploy/components/dashboard/application/volume-backups/handle-volume-backups.tsx
@@ -550,11 +550,8 @@ export const HandleVolumeBackups = ({