Skip to content

Commit

Permalink
#1625 Use observable flags component in observables list
Browse files Browse the repository at this point in the history
  • Loading branch information
nadouani authored and To-om committed Nov 13, 2020
1 parent 4a67504 commit 8aed6e1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions frontend/app/views/partials/observables/list/observables.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ <h4>
<table class="table table-striped table-hover case-list">
<thead>
<tr>
<th style="width: 10px;" class="p-0"></th>
<!-- <th style="width: 10px;" class="p-0"></th> -->
<th style="width: 20px">
<input type="checkbox" ng-change="selectAll()" ng-model="menu.selectAll" ng-disabled="switchTEList"></input>
</th>
<th style="width: 15px"></th>
<th style="width: 100px">Flags</th>
<th style="width: 100px">
<a href class="text-default" ng-click="sortByField('dataType')">
Type
Expand Down Expand Up @@ -59,12 +59,12 @@ <h4>
</thead>
<tbody>
<tr ng-repeat="artifact in artifacts.values">
<td class="p-0 bg-tlp-{{artifact.tlp}} clickable" ng-click="filterByTlp(artifact.tlp)"></td>
<!-- <td class="p-0 bg-tlp-{{artifact.tlp}} clickable" ng-click="filterByTlp(artifact.tlp)"></td> -->
<td>
<input type="checkbox" ng-model="artifact.selected" ng-change="selectArtifact(artifact)" if-permission="manageObservable" allowed="{{artifact.extraData.permissions.join(',')}}">
</td>
<td>
<observable-flags observable="artifact" on-filter="addFilterValue(fieldName, value)" hide-tlp="true"></observable-flags>
<observable-flags observable="artifact" on-filter="addFilterValue(fieldName, value)" inline="true"></observable-flags>
</td>
<td>
<a href ng-click="addFilterValue('dataType', artifact.dataType)"><span ng-bind="artifact.dataType"></span></a>
Expand Down

0 comments on commit 8aed6e1

Please sign in to comment.