From 5d05f334f1988c61d3d4efec39322ebe10c0377e Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Sat, 14 May 2022 18:47:12 +0200 Subject: [PATCH] ui: prune group: add NS info to title restructure it a bit for better UX Signed-off-by: Thomas Lamprecht --- www/datastore/Prune.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/www/datastore/Prune.js b/www/datastore/Prune.js index 4ee84865..81f6927b 100644 --- a/www/datastore/Prune.js +++ b/www/datastore/Prune.js @@ -257,9 +257,11 @@ Ext.define('PBS.DataStorePrune', { throw "no backup_id specified"; } + let ns = me.ns && me.ns !== '' ? `${me.ns} ` : ''; + Ext.apply(me, { url: '/api2/extjs/admin/datastore/' + me.datastore + "/prune", - title: `Prune Group '${me.datastore}:${me.backup_type}/${me.backup_id}'`, + title: `Prune Group '${me.backup_type}/${me.backup_id}' on '${me.datastore}:${ns}'`, items: [{ xtype: 'pbsDataStorePruneInputPanel', url: '/api2/extjs/admin/datastore/' + me.datastore + "/prune",