Skip to content

Commit 5a7e7b8

Browse files
committed
Hide logout button if not signed in
1 parent 16d10b0 commit 5a7e7b8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/pages/SettingsPage.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,10 @@ watch(soundsEnabled, (enabled) => {
4747
</div>
4848

4949
<div class="settings-footer">
50-
<AppButton @click="store.logout">
50+
<AppButton
51+
v-if="accessToken"
52+
@click="store.logout"
53+
>
5154
Log out
5255
</AppButton>
5356

0 commit comments

Comments
 (0)