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>
|
</Link>
|
||||||
|
|
||||||
<Layout nav no-gap flex style="align-items: center;">
|
<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
|
round
|
||||||
icon="bi-wrench"
|
icon="bi-wrench"
|
||||||
ghost
|
ghost
|
||||||
|
@ -57,6 +59,7 @@ const logoUrl = computed(() => store.state.auth.authenticated ? 'library.index'
|
||||||
</Link>
|
</Link>
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
|
v-if="store.state.auth.authenticated"
|
||||||
align-self="center"
|
align-self="center"
|
||||||
round
|
round
|
||||||
icon="bi-upload"
|
icon="bi-upload"
|
||||||
|
|
Loading…
Reference in New Issue