caas: show the backups view, just not the configure button
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
angular.module('Application').controller('BackupsController', ['$scope', '$location', '$rootScope', '$timeout', 'Client', 'AppStore', function ($scope, $location, $rootScope, $timeout, Client, AppStore) {
|
||||
Client.onReady(function () {
|
||||
if (!Client.hasScope('settings')) $location.path('/');
|
||||
if (Client.getConfig().provider === 'caas') $location.path('/');
|
||||
});
|
||||
|
||||
$scope.config = Client.getConfig();
|
||||
|
||||
Reference in New Issue
Block a user