Skip to content

Commit

Permalink
Merge pull request #379 from codeforjapan/fix/378
Browse files Browse the repository at this point in the history
凡例が表示されなくなってしまったのを修正する
  • Loading branch information
yuiseki authored Mar 4, 2021
2 parents 41f8464 + b3f8e34 commit 43361b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/PrintableMap.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
.legend-list-outer
simplebar(data-simplebar-auto-hide="false")
ul.legend-list
li.legend-item(v-for='(setting, name) in map_config.layer_settings' v-if="displayMarkersGroupByCategory.some((elm) => elm.name === name)")
span.legend-mark(:style="{backgroundColor:setting.color}" @click="selectCategory(name), isOpenList=name, isDisplayAllCategory=false" :class='{open: isDisplayAllCategory || activeCategory === name}')
li.legend-item(v-for='(setting, category) in map_config.layer_settings' v-if="displayMarkersGroupByCategory.some((elm) => elm.category === category)")
span.legend-mark(:style="{backgroundColor:setting.color}" @click="selectCategory(category), isOpenList=category, isDisplayAllCategory=false" :class='{open: isDisplayAllCategory || activeCategory === category}')
i(:class="[setting.icon_class]")
.legend-navi-icon(@click="selectCategory(''), isDisplayAllCategory=true, isOpenList=true" :class='{active: activeCategory}')
.legend-navi-button
Expand Down

0 comments on commit 43361b4

Please sign in to comment.