show apps with automatic backups disabled

This commit is contained in:
Girish Ramakrishnan
2020-04-03 10:36:51 -07:00
parent cd2a94ddb8
commit 305f9fd1cf
2 changed files with 12 additions and 1 deletions

View File

@@ -9,6 +9,8 @@ angular.module('Application').controller('BackupsController', ['$scope', '$locat
$scope.config = Client.getConfig();
$scope.user = Client.getUserInfo();
$scope.manualBackupApps = [];
$scope.backupConfig = {};
$scope.lastBackup = null;
$scope.backups = [];
@@ -419,6 +421,8 @@ angular.module('Application').controller('BackupsController', ['$scope', '$locat
fetchBackups();
getBackupConfig();
$scope.manualBackupApps = Client.getInstalledApps().filter(function (app) { return !app.enableBackup; });
// show backup status
$scope.createBackup.checkStatus();
});