Fixes #195: Bug in MISPWarningLists long report

Results were not displayed correctly due to an wrong check.
This commit is contained in:
srilumpa 2018-02-28 09:54:34 +01:00 committed by To-om
parent 938790c901
commit b5b00ce25e

View File

@ -5,7 +5,7 @@
<div class="panel-body"> <div class="panel-body">
<dl class="dl-horizontal" ng-if="content.results"> <dl class="dl-horizontal" ng-if="content.results">
<dt>Results:</dt> <dt>Results:</dt>
<dd ng-if="content.results.results"> <dd ng-if="content.results.length > 0">
<p> <p>
Observable was found in following MISP warning lists: Observable was found in following MISP warning lists:
</p> </p>
@ -13,7 +13,7 @@
<li>{{list.name}}</li> <li>{{list.name}}</li>
</ul> </ul>
</dd> </dd>
<dd ng-if="!content.results.results"> <dd ng-if="content.results.length == 0">
<p> <p>
Observable was not found in warning lists. Observable was not found in warning lists.
</p> </p>