Merge branch 'fix/audit-log-fixes' of github.com:Budibase/budibase into fix/audit-log-fixes

This commit is contained in:
mike12345567 2023-03-02 10:22:40 +00:00
commit 15251c5600
1 changed files with 13 additions and 11 deletions

View File

@ -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>