ui: show full id in switcher

This commit is contained in:
Anthony Fu 2022-11-25 22:39:15 +08:00
parent 45b6e39b6e
commit 7065100006
2 changed files with 3 additions and 2 deletions

View file

@ -12,7 +12,7 @@ const accountHandle = $(useAccountHandle(account, fullServer))
</script>
<template>
<div flex gap-3>
<div flex gap-3 cursor-default>
<div>
<NuxtLink :to="link ? getAccountPath(account) : null">
<AccountAvatar :account="account" :hover="hover" w-12 h-12 />

View file

@ -26,7 +26,8 @@
tabindex="0"
m5 p2 rounded-full
hover:bg-active cursor-pointer transition-100
:account="currentUser?.account"
:account="currentUser.account"
:full-server="true"
:link="false"
@keydown.enter="openUserSwitcher"
@click="openUserSwitcher"