Update backup controller to include backup frequency and retention data
https://www.facebook.com/groups/cyberpanel/permalink/3977223309255954/
This commit is contained in:
parent
c5bb2f89ea
commit
99bf8d9c96
|
|
@ -2074,6 +2074,8 @@ app.controller('scheduleBackup', function ($scope, $http, $window) {
|
||||||
$scope.allSites = response.data.allSites;
|
$scope.allSites = response.data.allSites;
|
||||||
$scope.lastRun = response.data.lastRun;
|
$scope.lastRun = response.data.lastRun;
|
||||||
$scope.currentStatus = response.data.currentStatus;
|
$scope.currentStatus = response.data.currentStatus;
|
||||||
|
$scope.backupFrequency = response.data.currently;
|
||||||
|
$scope.backupRetention = response.data.retention;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
new PNotify({
|
new PNotify({
|
||||||
|
|
|
||||||
|
|
@ -1729,6 +1729,8 @@ app.controller('scheduleBackup', function ($scope, $http, $window) {
|
||||||
$scope.allSites = response.data.allSites;
|
$scope.allSites = response.data.allSites;
|
||||||
$scope.lastRun = response.data.lastRun;
|
$scope.lastRun = response.data.lastRun;
|
||||||
$scope.currentStatus = response.data.currentStatus;
|
$scope.currentStatus = response.data.currentStatus;
|
||||||
|
$scope.backupFrequency = response.data.currently;
|
||||||
|
$scope.backupRetention = response.data.retention;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
new PNotify({
|
new PNotify({
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue