[pve-devel] [PATCH v2 manager 5/5] ui: prune: also handle new 'renamed' keep reason

Fabian Ebner f.ebner at proxmox.com
Thu Sep 30 13:42:15 CEST 2021


The back-end no longer returns 'protected' for renamed backups, and
'protected' backups are now their own kind.

Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
---

New in v2.

 www/manager6/window/Prune.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/www/manager6/window/Prune.js b/www/manager6/window/Prune.js
index 3056ab20..6156fe03 100644
--- a/www/manager6/window/Prune.js
+++ b/www/manager6/window/Prune.js
@@ -186,6 +186,8 @@ Ext.define('PVE.PruneInputPanel', {
 			    if (record.data.mark === 'keep') {
 				return 'true (' + record.data.keepReason + ')';
 			    } else if (record.data.mark === 'protected') {
+				return 'true (protected)';
+			    } else if (record.data.mark === 'renamed') {
 				return 'true (renamed)';
 			    } else {
 				return 'false';
-- 
2.30.2






More information about the pve-devel mailing list