fix(settings): hide profile when not login

This commit is contained in:
三咲智子 2022-12-30 04:14:05 +08:00
parent 81869df4bd
commit 7380609c93
No known key found for this signature in database
GPG key ID: 69992F2250DFD93E
4 changed files with 14 additions and 0 deletions

View file

@ -20,6 +20,7 @@ const isRootPath = computedEager(() => route.name === 'settings')
</template>
<div xl:w-97 lg:w-78 w-full>
<SettingsNavItem
v-if="currentUser"
command
icon="i-ri:user-line"
:text="$t('settings.profile.label')"