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…
Reference in New Issue