Skip to content

Commit

Permalink
Replaced ng-if by ng-show for md-chips
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesús Ángel authored and havidarou committed Jul 26, 2018
1 parent bef3a92 commit e9d1e47
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions public/templates/manager/ruleset/decoders/decoders-list.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div ng-show="!loading && !viewingDetail" flex layout="column" class="md-padding">
<div ng-if="!loading && !viewingDetail" flex layout="column" class="md-padding">
<div id="content" layout="row" layout-align="start start">

<input flex placeholder="Filter decoders..." ng-model="custom_search" type="text" class="kuiLocalSearchInput ng-empty ng-pristine ng-scope ng-touched ng-valid wz-margin-top-4 height-36"
Expand All @@ -25,13 +25,13 @@
</div>

<md-chips class="wz-chips" readonly="true" ng-show="appliedFilters.length">
<md-chip class="wz-chip" ng-if="includesFilter('file');">
<span>File: {{getFilter('file')}}
<md-chip class="wz-chip" ng-show="includesFilter('file')">
<span>File: {{ getFilter('file') }}
<i class="fa fa-fw fa-times cursor-pointer" aria-hidden="true" ng-click="removeFilter('file')"></i>
</span>
</md-chip>
<md-chip class="wz-chip" ng-if="includesFilter('path');">
<span>Path: {{getFilter('path')}}
<md-chip class="wz-chip" ng-show="includesFilter('path')">
<span>Path: {{ getFilter('path') }}
<i class="fa fa-fw fa-times cursor-pointer" aria-hidden="true" ng-click="removeFilter('path')"></i>
</span>
</md-chip>
Expand Down

0 comments on commit e9d1e47

Please sign in to comment.