mirror of
https://github.com/hcengineering/platform.git
synced 2025-06-11 21:11:57 +00:00
Redrawing the Avatar when changing the persona in UserInfo
Signed-off-by: Alexander Platov <alexander.platov@hardcoreeng.com>
This commit is contained in:
parent
70c704d468
commit
d562db268a
@ -33,7 +33,9 @@
|
||||
<!-- svelte-ignore a11y-click-events-have-key-events -->
|
||||
<!-- svelte-ignore a11y-no-static-element-interactions -->
|
||||
<div class="flex-row-center" on:click>
|
||||
<Avatar person={value} {size} {icon} name={value.name} on:accent-color {showStatus} />
|
||||
{#key value._id}
|
||||
<Avatar person={value} {size} {icon} name={value.name} on:accent-color {showStatus} />
|
||||
{/key}
|
||||
<div class="flex-col min-w-0 {size === 'tiny' || size === 'inline' ? 'ml-1' : 'ml-2'}" class:max-w-20={short}>
|
||||
{#if subtitle}<div class="content-dark-color text-sm">{subtitle}</div>{/if}
|
||||
<div class="label text-left overflow-label">{getName(client.getHierarchy(), value)}</div>
|
||||
|
Loading…
Reference in New Issue
Block a user