mirror of
https://github.com/hcengineering/platform.git
synced 2025-01-23 03:49:49 +00:00
Do not show users online status by default (#7046)
Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
parent
88dd3ddd04
commit
3b52779876
@ -145,6 +145,7 @@
|
||||
value={selected}
|
||||
{avatarSize}
|
||||
tooltipLabels={showTooltip}
|
||||
showPopup={false}
|
||||
shouldShowName={false}
|
||||
shouldShowPlaceholder
|
||||
onEmployeeEdit={_click}
|
||||
|
@ -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()
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user