Create a new backup when backup config changes

This is required so that app restore UI works
This commit is contained in:
Girish Ramakrishnan
2016-12-19 13:55:34 -08:00
parent ca8b61caba
commit f7beecc510
2 changed files with 5 additions and 2 deletions

View File

@@ -397,6 +397,9 @@ angular.module('Application').controller('SettingsController', ['$scope', '$loca
// $scope.configureBackup.reset();
$('#configureBackupModal').modal('hide');
// TODO: be smarter and create new backup only when required
$scope.createBackup.doCreateBackup();
// now refresh the ui
Client.refreshConfig();
getBackupConfig();