diff --git a/www/DataStoreSummary.js b/www/DataStoreSummary.js index 93bd99a3..fad10706 100644 --- a/www/DataStoreSummary.js +++ b/www/DataStoreSummary.js @@ -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')}`; };