2022-12-27 21:07:19 +01:00
|
|
|
<template>
|
|
|
|
<VDropdown :distance="0" placement="top-start">
|
|
|
|
<button btn-action-icon :aria-label="$t('action.switch_account')">
|
2023-01-03 14:48:13 +01:00
|
|
|
<div :class="{ 'hidden xl:block': currentUser }" i-ri:more-2-line />
|
2023-01-05 13:10:22 +01:00
|
|
|
<AccountAvatar v-if="currentUser" xl:hidden :account="currentUser.account" w-9 h-9 square />
|
2022-12-27 21:07:19 +01:00
|
|
|
</button>
|
|
|
|
<template #popper="{ hide }">
|
|
|
|
<UserSwitcher @click="hide" />
|
|
|
|
</template>
|
|
|
|
</VDropdown>
|
|
|
|
</template>
|