mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-10-26 00:36:34 +02:00
Merge pull request #1 from master3395/stable
Update backup controller to include backup frequency and retention data
This commit is contained in:
@@ -2074,6 +2074,8 @@ app.controller('scheduleBackup', function ($scope, $http, $window) {
|
||||
$scope.allSites = response.data.allSites;
|
||||
$scope.lastRun = response.data.lastRun;
|
||||
$scope.currentStatus = response.data.currentStatus;
|
||||
$scope.backupFrequency = response.data.currently;
|
||||
$scope.backupRetention = response.data.retention;
|
||||
|
||||
} else {
|
||||
new PNotify({
|
||||
|
||||
@@ -1729,6 +1729,8 @@ app.controller('scheduleBackup', function ($scope, $http, $window) {
|
||||
$scope.allSites = response.data.allSites;
|
||||
$scope.lastRun = response.data.lastRun;
|
||||
$scope.currentStatus = response.data.currentStatus;
|
||||
$scope.backupFrequency = response.data.currently;
|
||||
$scope.backupRetention = response.data.retention;
|
||||
|
||||
} else {
|
||||
new PNotify({
|
||||
|
||||
Reference in New Issue
Block a user