Add global user status (#5526)

This commit is contained in:
Alexander Platov
2024-05-10 13:14:06 +07:00
committed by GitHub
parent 7625b73f08
commit 3e835e0c70
24 changed files with 410 additions and 388 deletions
@@ -14,7 +14,7 @@
-->
<script lang="ts">
import { Analytics } from '@hcengineering/analytics'
import contact, { Employee, Person, PersonAccount } from '@hcengineering/contact'
import contact, { Person, PersonAccount } from '@hcengineering/contact'
import core, { AccountRole, Class, Doc, Ref, Space, getCurrentAccount, hasAccountRole } from '@hcengineering/core'
import login from '@hcengineering/login'
import notification, { DocNotifyContext, InboxNotification, notificationId } from '@hcengineering/notification'
@@ -727,7 +727,10 @@
class="cursor-pointer"
on:click|stopPropagation={() => showPopup(AccountPopup, {}, popupPosition)}
>
<Component is={contact.component.Avatar} props={{ avatar: person?.avatar, size: 'small' }} />
<Component
is={contact.component.Avatar}
props={{ avatar: person?.avatar, size: 'small', account: account._id }}
/>
</div>
</div>
</div>