From 1d2da0ac35b794f17ccf85fc1d1c0da9293b152d Mon Sep 17 00:00:00 2001 From: vicke4 Date: Mon, 3 Mar 2025 02:08:06 +0530 Subject: [PATCH] feat(ui): add keep latest backup count to show backups page --- .../dashboard/database/backups/show-backups.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/apps/dokploy/components/dashboard/database/backups/show-backups.tsx b/apps/dokploy/components/dashboard/database/backups/show-backups.tsx index 6619ceae7..616745e18 100644 --- a/apps/dokploy/components/dashboard/database/backups/show-backups.tsx +++ b/apps/dokploy/components/dashboard/database/backups/show-backups.tsx @@ -106,7 +106,7 @@ export const ShowBackups = ({ id, type }: Props) => { {postgres?.backups.map((backup) => (
-
+
Destination @@ -137,6 +137,12 @@ export const ShowBackups = ({ id, type }: Props) => { {backup.enabled ? "Yes" : "No"}
+
+ Keep Latest + + {backup.keepLatestCount || 'All'} + +