dashboard: remove some debug console.logs()
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user