Do not show users online status by default (#7046)

Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
Kristina 2024-10-26 21:20:51 +04:00 committed by GitHub
parent 88dd3ddd04
commit 3b52779876
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 4 additions and 3 deletions

View File

@ -145,6 +145,7 @@
value={selected}
{avatarSize}
tooltipLabels={showTooltip}
showPopup={false}
shouldShowName={false}
shouldShowPlaceholder
onEmployeeEdit={_click}

View File

@ -55,7 +55,7 @@
export let icon: Asset | AnySvelteComponent | undefined = undefined
export let variant: 'circle' | 'roundedRect' | 'none' = 'roundedRect'
export let borderColor: number | undefined = undefined
export let showStatus: boolean = true
export let showStatus: boolean = false
export function pulse (): void {
avatarInst.pulse()

View File

@ -30,7 +30,7 @@
export let icon: Asset | AnySvelteComponent | undefined = undefined
export let variant: 'circle' | 'roundedRect' | 'none' = 'roundedRect'
export let borderColor: number | undefined = undefined
export let showStatus: boolean = true
export let showStatus: boolean = false
$: empValue = $employeeByIdStore.get(_id as Ref<Employee>) ?? $personByIdStore.get(_id)

View File

@ -860,7 +860,7 @@
>
<Component
is={contact.component.Avatar}
props={{ person, name: person?.name, size: 'small', account: account._id }}
props={{ person, name: person?.name, size: 'small', account: account._id, showStatus: true }}
/>
</div>
</div>