ui: content: fix tooltip for forgetting snapshot
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
d1f9cceada
commit
45ba884d0d
|
@ -956,7 +956,7 @@ Ext.define('PBS.DataStoreContent', {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
handler: 'onForget',
|
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 snapshot '{0}'"), v)
|
||||||
: Ext.String.format(gettext("Permanently forget group '{0}'"), v),
|
: Ext.String.format(gettext("Permanently forget group '{0}'"), v),
|
||||||
getClass: (v, m, { data }) =>
|
getClass: (v, m, { data }) =>
|
||||||
|
|
Loading…
Reference in New Issue