mirror of
git://git.proxmox.com/git/proxmox-backup.git
synced 2025-01-21 18:03:59 +03:00
ui: datastore summary: handle missing snapshot of a types
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
906ef6c5bd
commit
f487a622ce
@ -72,6 +72,7 @@ Ext.define('PBS.DataStoreInfo', {
|
||||
(gcstatus['disk-bytes'] || Infinity);
|
||||
|
||||
let countstext = function(count) {
|
||||
count = count || {};
|
||||
return `${count.groups || 0} ${gettext('Groups')}, ${count.snapshots || 0} ${gettext('Snapshots')}`;
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user