dashboard: remove some debug console.logs()

This commit is contained in:
Johannes Zellner
2023-08-08 15:52:09 +02:00
parent 10646e9e04
commit 7d9e697d85
2 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -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);
};
-2
View File
@@ -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) {