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 9731a9b53e
1 changed files with 13 additions and 11 deletions

View File

@ -12,19 +12,21 @@
} }
</script> </script>
{#if row?.user?.email}
<div <div
class="container" class="container"
on:mouseover={() => (showTooltip = true)} on:mouseover={() => (showTooltip = true)}
on:focus={() => (showTooltip = true)} on:focus={() => (showTooltip = true)}
on:mouseleave={() => (showTooltip = false)} on:mouseleave={() => (showTooltip = false)}
> >
<Avatar size="M" initials={getInitials(row?.user)} /> <Avatar size="M" initials={getInitials(row.user)} />
</div> </div>
{#if showTooltip} {#if showTooltip}
<div class="tooltip"> <div class="tooltip">
<Tooltip textWrapping text={row?.user.email} direction="bottom" /> <Tooltip textWrapping text={row.user.email} direction="bottom" />
</div> </div>
{/if} {/if}
{/if}
<style> <style>
.container { .container {