Skip to content

Commit

Permalink
fix(layout): filter tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
shadow81627 committed May 7, 2022
1 parent e7181e8 commit 91894ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<v-tabs class="hidden-sm-and-down" optional right>
<v-tabs-slider></v-tabs-slider>
<v-tab
v-for="{ name, route } in items"
v-for="{ name, route } in items.filter((item) => item.show_tab)"
:key="route"
:to="localePath(route ? route : {})"
text
Expand Down

0 comments on commit 91894ad

Please sign in to comment.