Only show the remote support for admins

This commit is contained in:
Johannes Zellner
2017-03-10 17:21:01 +01:00
parent bb61eee557
commit b0638df94e
2 changed files with 2 additions and 1 deletions

View File

@@ -58,7 +58,7 @@
<br/>
<div class="card card-large" ng-show="config.provider !== 'caas'">
<div class="card card-large" ng-show="config.provider !== 'caas' && user.admin">
<div class="grid-item-top">
<div class="row animateMeOpacity">
<div class="col-lg-12">

View File

@@ -2,6 +2,7 @@
angular.module('Application').controller('SupportController', ['$scope', '$location', 'Client', function ($scope, $location, Client) {
$scope.config = Client.getConfig();
$scope.user = Client.getUserInfo();
$scope.feedback = {
error: null,