feat(views): hide view switcher when there is only one view

This commit is contained in:
kolaente 2024-04-02 14:02:59 +02:00
parent 8a72fe26f8
commit d7554d9e70
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 2 additions and 2 deletions

View File

@ -7,8 +7,8 @@
{{ getProjectTitle(currentProject) }}
</h1>
<div class="switch-view-container d-print-none">
<div class="switch-view">
<div class="switch-view-container d-print-none" :class="{'is-justify-content-flex-end': views.length === 1}">
<div class="switch-view" v-if="views.length > 1">
<BaseButton
v-for="v in views"
:key="v.id"