mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-25 10:46:17 +03:00
12 lines
427 B
Vue
12 lines
427 B
Vue
|
<template>
|
||
|
<VDropdown :distance="0" placement="top-start">
|
||
|
<button btn-action-icon :aria-label="$t('action.switch_account')">
|
||
|
<div :class="{ 'hidden lg:block': currentUser }" i-ri:more-2-line />
|
||
|
<AccountAvatar v-if="currentUser" lg:hidden :account="currentUser.account" w-9 h-9 />
|
||
|
</button>
|
||
|
<template #popper="{ hide }">
|
||
|
<UserSwitcher @click="hide" />
|
||
|
</template>
|
||
|
</VDropdown>
|
||
|
</template>
|