Skip to content

Commit

Permalink
#347 Fix the observable by IOC ministat panel
Browse files Browse the repository at this point in the history
  • Loading branch information
nadouani authored and To-om committed Oct 23, 2017
1 parent 7a3c3b4 commit 2132373
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ui/app/views/partials/observables/list/mini-stats.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@ <h4>Statistics</h4>
<div class="panel panel-default">
<div class="panel-heading">Observables as IOC</div>
<div class="panel-body">
<pre>{{statsCtrl.byIoc.details | json}}</pre>
<table class="table table-condensed">
<tr ng-repeat="item in statsCtrl.byIoc.details">
<td class="active">{{(item.key === '0') ? 'Not IOC' : 'IOC' }}</td>
<td class="active">{{(item.key === 'false') ? 'Not IOC' : 'IOC' }}</td>
<td>
<a href ng-click="addFilterValue('ioc', item.key === '0' ? false : true)">{{item.count}}</a>
<a href ng-click="addFilterValue('ioc', item.key === 'false' ? false : true)">{{item.count}}</a>
</td>
</tr>
</table>
Expand Down

0 comments on commit 2132373

Please sign in to comment.