ui: datastore/Prune: improve title of group prune window

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@proxmox.com>
This commit is contained in:
Dominik Csapak 2021-07-16 10:53:28 +02:00 committed by Dietmar Maurer
parent afbf2e10f3
commit f027c2146e

View File

@ -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",