Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not show users online status by default #7046

Merged
merged 1 commit into from
Oct 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@
value={selected}
{avatarSize}
tooltipLabels={showTooltip}
showPopup={false}
shouldShowName={false}
shouldShowPlaceholder
onEmployeeEdit={_click}
Expand Down
2 changes: 1 addition & 1 deletion plugins/contact-resources/src/components/Avatar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion plugins/contact-resources/src/components/AvatarRef.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down