replace operatorActions with managed

This commit is contained in:
Girish Ramakrishnan
2018-10-30 21:07:37 -07:00
parent 2e6a0411fb
commit 92660e037d
10 changed files with 17 additions and 16 deletions
+2 -2
View File
@@ -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();