mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
check if roles are present in store, this may happen when going to the admin interface
This commit is contained in:
parent
3505460ea8
commit
1d2bb05069
@ -49,7 +49,7 @@
|
||||
</b-nav-item>
|
||||
<b-nav-item
|
||||
class="mb-3 text-light"
|
||||
v-if="$store.state.roles.length > 0"
|
||||
v-if="$store.state.roles && $store.state.roles.length > 0"
|
||||
@click="$emit('admin')"
|
||||
active-class="activeRoute"
|
||||
>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user