Skip to content

Commit

Permalink
Fixes #195: Bug in MISPWarningLists long report
Browse files Browse the repository at this point in the history
Results were not displayed correctly due to an wrong check.
  • Loading branch information
srilumpa authored and 3c7 committed Feb 28, 2018
1 parent a405339 commit 96b862e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions thehive-templates/MISPWarningLists_1_0/long.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
<div class="panel-body">
<dl class="dl-horizontal" ng-if="content.results">
<dt>Results:</dt>
<dd ng-if="content.results.results">
<dd ng-if="content.results.length > 0">
<p>
Observable was found in following MISP warning lists:
</p>
<ul ng-repeat="list in content.results">
<li>{{list.name}}</li>
</ul>
</dd>
<dd ng-if="!content.results.results">
<dd ng-if="content.results.length == 0">
<p>
Observable was not found in warning lists.
</p>
Expand Down

0 comments on commit 96b862e

Please sign in to comment.