Skip to content

Commit

Permalink
fix icons for layer-select
Browse files Browse the repository at this point in the history
  • Loading branch information
kecnry committed Nov 20, 2024
1 parent 47efa6d commit 0cc981c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jdaviz/components/plugin_layer_select.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
</span>
<v-chip v-else-if="multiselect" style="width: calc(100% - 10px)">
<span>
<j-layer-viewer-icon v-if="data.item.icon" :icon="item.icon" :prevent_invert_if_dark="true"></j-layer-viewer-icon>
<j-layer-viewer-icon v-if="data.item.icon" :icon="item.icon" :icons="icons" :prevent_invert_if_dark="true"></j-layer-viewer-icon>
{{ item.label }}
</span>
</v-chip>
<span v-else >
<j-layer-viewer-icon v-if="item.icon" span_style="margin-right: 4px" :icon="item.icon" :prevent_invert_if_dark="true"></j-layer-viewer-icon>
<j-layer-viewer-icon v-if="item.icon" span_style="margin-right: 4px" :icon="item.icon" :icons="icons" :prevent_invert_if_dark="true"></j-layer-viewer-icon>
{{ item.label }}
</span>
</div>
Expand Down

0 comments on commit 0cc981c

Please sign in to comment.