Skip to content

Commit

Permalink
Hide hidden headers
Browse files Browse the repository at this point in the history
  • Loading branch information
timoschwarzer committed Sep 26, 2021
1 parent e7d187b commit 9400204
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion components/WotwSeedgenHeaderSelect.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div>
<v-card
v-for='header in headers'
v-for='header in visibleHeaders'
:key='header.headerName'
class='d-inline-flex align-center mr-1 mb-1'
color='background lighten-3'
Expand Down Expand Up @@ -107,6 +107,11 @@
},
headerArgStates: {},
}),
computed: {
visibleHeaders() {
return this.headers.filter(h => !h.hidden)
},
},
watch: {
headerArgs: {
deep: true,
Expand Down

0 comments on commit 9400204

Please sign in to comment.