diff --git a/src/index.html b/src/index.html index d6bf34749..5e41b9fe2 100644 --- a/src/index.html +++ b/src/index.html @@ -187,7 +187,7 @@
  • {{ 'settings.title' | tr }}
  • {{ 'volumes.title' | tr }}
  • -
  • {{ 'support.title' | tr }}
  • +
  • {{ 'support.title' | tr }}
  • {{ 'system.title' | tr }}
  • {{ 'main.logout' | tr }}
  • diff --git a/src/views/support.js b/src/views/support.js index 540be0f5b..dc0beb17b 100644 --- a/src/views/support.js +++ b/src/views/support.js @@ -4,7 +4,7 @@ /* global $:false */ angular.module('Application').controller('SupportController', ['$scope', '$location', 'Client', function ($scope, $location, Client) { - Client.onReady(function () { if (!Client.getUserInfo().isAtLeastAdmin) $location.path('/'); }); + Client.onReady(function () { if (!Client.getUserInfo().isAtLeastOwner) $location.path('/'); }); $scope.ready = false; $scope.config = Client.getConfig();