mirror of
				https://github.com/usmannasir/cyberpanel.git
				synced 2025-10-31 10:26:01 +01: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.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({ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user