Skip to content

Commit

Permalink
#1242 Hide responders menu in alerts list if cortex is not available
Browse files Browse the repository at this point in the history
  • Loading branch information
nadouani committed May 3, 2020
1 parent b781b4d commit 0c0e310
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions frontend/app/views/partials/alert/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
<h3 class="box-title">List of alerts ({{$vm.list.total || 0}} of {{alertEvents.count}})</h3>
</div>
<div class="box-body">

<div ng-include="'views/partials/alert/list/toolbar.html'"></div>

<div class="mv-s filter-panel" ng-include="'views/partials/alert/list/mini-stats.html'" ng-show="$vm.filtering.context.showStats"></div>
Expand Down Expand Up @@ -156,7 +155,7 @@ <h3 class="box-title">List of alerts ({{$vm.list.total || 0}} of {{alertEvents.c
<a class="btn btn-xs btn-icon btn-clear" href ng-click="$vm.markAsRead(event)" uib-tooltip="Mark as unread" ng-if="$vm.canMarkAsUnread(event)">
<i class="text-info text-20 fa fa-envelope-open-o"></i>
</a>
<span class="btn btn-xs btn-icon btn-clear" uib-dropdown>
<span class="btn btn-xs btn-icon btn-clear" uib-dropdown ng-if="$vm.appConfig.connectors.cortex.enabled" if-permission="manageAction">
<a href class="text-primary noline nowrap" ng-click="$vm.getResponders(event.id, true)" uib-dropdown-toggle>
<i class="text-info text-20 fa fa-cog"></i>
</a>
Expand Down

0 comments on commit 0c0e310

Please sign in to comment.