Skip to content

Commit

Permalink
Hide empty group automaticly
Browse files Browse the repository at this point in the history
  • Loading branch information
sylingd committed Oct 25, 2018
1 parent 48af49f commit eaa9817
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/options/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="loading-box" v-show="isLoadingRules">
<md-progress-spinner md-mode="indeterminate" :md-stroke="4"></md-progress-spinner>
</div>
<md-card v-for="g of group" :key="g.name" class="group-item" v-show="!isLoadingRules">
<md-card v-for="g of group" :key="g.name" class="group-item" v-show="!isLoadingRules && Object.keys(g.rule).length > 0">
<md-card-header>
<div class="md-title">{{g.name}}</div>
<md-button class="md-icon-button" @click="g.collapse = !g.collapse">
Expand Down

0 comments on commit eaa9817

Please sign in to comment.