mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-28 08:48:45 +02:00
Fix: Handle disabled auth in user dropdown
This commit is contained in:
parent
f8f19d8dc5
commit
e0966e55c8
@ -38,7 +38,10 @@
|
||||
<font-awesome-icon icon="angle-down" />
|
||||
</div>
|
||||
<ul class="dropdown-menu">
|
||||
<li><span class="dropdown-item-text">Signed in as <strong>{{ $root.username }}</strong></span></li>
|
||||
<li>
|
||||
<span v-if="$root.username != null" class="dropdown-item-text">Signed in as <strong>{{ $root.username }}</strong></span>
|
||||
<span v-if="$root.username == null" class="dropdown-item-text">Auth Disabled.</span>
|
||||
</li>
|
||||
<li><hr class="dropdown-divider"></li>
|
||||
<li>
|
||||
<router-link to="/settings" class="dropdown-item" :class="{ active: $route.path.includes('settings') }">
|
||||
|
Loading…
Reference in New Issue
Block a user