[pbs-devel] [PATCH proxmox-backup 11/11] ui: datastore/Prune: improve title of group prune window

Dominik Csapak d.csapak at proxmox.com
Fri Jul 16 10:53:28 CEST 2021


we are not actually pruning the whole datastore, but only the single
group, so set that as a title

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/datastore/Prune.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/datastore/Prune.js b/www/datastore/Prune.js
index 10191679..3e74269f 100644
--- a/www/datastore/Prune.js
+++ b/www/datastore/Prune.js
@@ -251,7 +251,7 @@ Ext.define('PBS.DataStorePrune', {
 
 	Ext.apply(me, {
 	    url: '/api2/extjs/admin/datastore/' + me.datastore + "/prune",
-	    title: "Prune Datastore '" + me.datastore + "'",
+	    title: `Prune Group '${me.datastore}:${me.backup_type}/${me.backup_id}'`,
 	    items: [{
 		xtype: 'pbsDataStorePruneInputPanel',
 		url: '/api2/extjs/admin/datastore/' + me.datastore + "/prune",
-- 
2.30.2






More information about the pbs-devel mailing list