diff --git a/dashboard/src/js/client.js b/dashboard/src/js/client.js index 9477260f6..81f10c95c 100644 --- a/dashboard/src/js/client.js +++ b/dashboard/src/js/client.js @@ -3376,7 +3376,7 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout }; Client.prototype._onAppstoreApps = function (callback) { - if (!this._fetchingAppstoreApps) {console.log('not fetching'); callback(); } + if (!this._fetchingAppstoreApps) { callback(); } else this._fetchingAppstoreAppsListener.push(callback); }; diff --git a/dashboard/src/views/backups.js b/dashboard/src/views/backups.js index e598681b1..6ac75afa4 100644 --- a/dashboard/src/views/backups.js +++ b/dashboard/src/views/backups.js @@ -573,12 +573,10 @@ angular.module('Application').controller('BackupsController', ['$scope', '$locat Client.getBlockDevices(function (error, result) { if (error) return console.error('Failed to list blockdevices:', error); - console.log('all',result) // only offer non /, /boot or /home disks result = result.filter(function (d) { return d.mountpoint !== '/' && d.mountpoint !== '/home' && d.mountpoint !== '/boot'; }); // only offer xfs and ext4 disks result = result.filter(function (d) { return d.type === 'xfs' || d.type === 'ext4'; }); - console.log('filtered',result) // amend label for UI result.forEach(function (d) {