account for system events
This commit is contained in:
parent
76b6c97084
commit
7f1542c6eb
|
@ -12,18 +12,20 @@
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div
|
{#if row?.user?.email}
|
||||||
class="container"
|
<div
|
||||||
on:mouseover={() => (showTooltip = true)}
|
class="container"
|
||||||
on:focus={() => (showTooltip = true)}
|
on:mouseover={() => (showTooltip = true)}
|
||||||
on:mouseleave={() => (showTooltip = false)}
|
on:focus={() => (showTooltip = true)}
|
||||||
>
|
on:mouseleave={() => (showTooltip = false)}
|
||||||
<Avatar size="M" initials={getInitials(row?.user)} />
|
>
|
||||||
</div>
|
<Avatar size="M" initials={getInitials(row.user)} />
|
||||||
{#if showTooltip}
|
|
||||||
<div class="tooltip">
|
|
||||||
<Tooltip textWrapping text={row?.user.email} direction="bottom" />
|
|
||||||
</div>
|
</div>
|
||||||
|
{#if showTooltip}
|
||||||
|
<div class="tooltip">
|
||||||
|
<Tooltip textWrapping text={row.user.email} direction="bottom" />
|
||||||
|
</div>
|
||||||
|
{/if}
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|
Loading…
Reference in New Issue