ui: content: fix tooltip for forgetting snapshot

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2022-05-15 14:08:24 +02:00
parent d1f9cceada
commit 45ba884d0d

View File

@ -956,7 +956,7 @@ Ext.define('PBS.DataStoreContent', {
},
{
handler: 'onForget',
getTip: (v, m, { data }) => data ==='dir'
getTip: (v, m, { data }) => data.ty ==='dir'
? Ext.String.format(gettext("Permanently forget snapshot '{0}'"), v)
: Ext.String.format(gettext("Permanently forget group '{0}'"), v),
getClass: (v, m, { data }) =>