feat(views): hide view switcher when there is only one view
This commit is contained in:
parent
8a72fe26f8
commit
d7554d9e70
@ -7,8 +7,8 @@
|
|||||||
{{ getProjectTitle(currentProject) }}
|
{{ getProjectTitle(currentProject) }}
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<div class="switch-view-container d-print-none">
|
<div class="switch-view-container d-print-none" :class="{'is-justify-content-flex-end': views.length === 1}">
|
||||||
<div class="switch-view">
|
<div class="switch-view" v-if="views.length > 1">
|
||||||
<BaseButton
|
<BaseButton
|
||||||
v-for="v in views"
|
v-for="v in views"
|
||||||
:key="v.id"
|
:key="v.id"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user