replace operatorActions with managed
This commit is contained in:
@@ -73,7 +73,7 @@ angular.module('Application').controller('BackupsController', ['$scope', '$locat
|
||||
];
|
||||
|
||||
$scope.prettyProviderName = function (provider) {
|
||||
if (!$scope.config.features.operatorActions) return $scope.config.provider;
|
||||
if ($scope.config.managed) return $scope.config.provider;
|
||||
|
||||
switch (provider) {
|
||||
case 'caas': return 'Managed Cloudron';
|
||||
@@ -355,7 +355,7 @@ angular.module('Application').controller('BackupsController', ['$scope', '$locat
|
||||
|
||||
Client.onReady(function () {
|
||||
fetchBackups();
|
||||
if ($scope.config.features.operatorActions) getBackupConfig();
|
||||
if (!$scope.config.managed) getBackupConfig();
|
||||
|
||||
// show backup status
|
||||
$scope.createBackup.updateStatus();
|
||||
|
||||
Reference in New Issue
Block a user