fix(ui) sidebar auth state button switches
This commit is contained in:
parent
d957d16042
commit
eef1052676
|
@ -49,7 +49,9 @@ const logoUrl = computed(() => store.state.auth.authenticated ? 'library.index'
|
|||
</Link>
|
||||
|
||||
<Layout nav no-gap flex style="align-items: center;">
|
||||
<Link to="/manage/settings"
|
||||
<Link
|
||||
v-if="store.state.auth.availablePermissions['settings'] || store.state.auth.availablePermissions['moderation']"
|
||||
to="/manage/settings"
|
||||
round
|
||||
icon="bi-wrench"
|
||||
ghost
|
||||
|
@ -57,6 +59,7 @@ const logoUrl = computed(() => store.state.auth.authenticated ? 'library.index'
|
|||
</Link>
|
||||
|
||||
<Button
|
||||
v-if="store.state.auth.authenticated"
|
||||
align-self="center"
|
||||
round
|
||||
icon="bi-upload"
|
||||
|
|
Loading…
Reference in New Issue