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
-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) {