Skip to content

Commit

Permalink
hide viewer icon if only one viewer
Browse files Browse the repository at this point in the history
  • Loading branch information
kecnry committed Jul 8, 2022
1 parent 306d8d2 commit eb37b79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jdaviz/container.vue
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@

<v-card tile flat style="flex: 1; margin-top: -2px; overflow-y: hidden;">
<div v-if="app_settings.viewer_labels" class='viewer-label-container'>
<div :class="viewer.config==='imviz' ? 'viewer-label viewer-label-imviz invert-if-dark' : 'viewer-label invert-if-dark'">
<div v-if="Object.keys(viewer_icons).length > 1" :class="viewer.config==='imviz' ? 'viewer-label viewer-label-imviz invert-if-dark' : 'viewer-label invert-if-dark'">
<j-tooltip span_style="white-space: nowrap">
<v-icon :class="viewer.config==='imviz' ? 'invert' : 'invert-if-dark'" style="float: right">{{viewer_icons[[viewer.id]]}}</v-icon>
</j-tooltip>
Expand Down

0 comments on commit eb37b79

Please sign in to comment.