mirror of
https://github.com/nkanaev/yarr.git
synced 2026-07-15 11:06:31 +00:00
frontend: show logout button only if user/pass is set
This commit is contained in:
@@ -117,8 +117,8 @@
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="dropdown-divider" v-if="authenticated"></div>
|
||||
<button class="dropdown-item" v-if="authenticated" @click="logout()">
|
||||
<div class="dropdown-divider" v-if="requiresAuth"></div>
|
||||
<button class="dropdown-item" v-if="requiresAuth" @click="logout()">
|
||||
<v-icon class="mr-1" name="log-out" />
|
||||
{{ $t('log_out') }}
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user