feat: add link to account settings on instance (#772)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
This commit is contained in:
parent
482e8c1c3a
commit
8840205c98
3 changed files with 12 additions and 1 deletions
|
@ -39,6 +39,14 @@ const isRootPath = computedEager(() => route.name === 'settings')
|
|||
:text="$t('settings.interface.label')"
|
||||
to="/settings/interface"
|
||||
/>
|
||||
<SettingsItem
|
||||
v-if="isHydrated && currentUser"
|
||||
command
|
||||
icon="i-ri:settings-line"
|
||||
:text="$t('settings.account_settings')"
|
||||
:to="`https://${currentUser!.server}/auth/edit`"
|
||||
external target="_blank"
|
||||
/>
|
||||
<SettingsItem
|
||||
command
|
||||
icon="i-ri-globe-line"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue