mirror of
https://github.com/elk-zone/elk.git
synced 2024-12-15 07:31:46 +03:00
13 lines
467 B
Vue
13 lines
467 B
Vue
<template>
|
|
<VDropdown :distance="0" placement="top-start">
|
|
<button btn-action-icon :aria-label="$t('action.switch_account')">
|
|
<!-- TODO -->
|
|
<div :class="{ 'hidden xl:block': !isGuest }" i-ri:more-2-line />
|
|
<AccountAvatar v-if="!isGuest" xl:hidden :account="account" w-9 h-9 />
|
|
<span v-else>TODO: Guest</span>
|
|
</button>
|
|
<template #popper="{ hide }">
|
|
<UserSwitcher @click="hide" />
|
|
</template>
|
|
</VDropdown>
|
|
</template>
|