1
0
Fork 0
mirror of synced 2024-09-08 21:51:58 +12:00

Merge pull request #7891 from Budibase/fix/table-cell-attachment-click-propagation

Fix/table cell attachment click propagation
This commit is contained in:
Martin McKeaveney 2022-09-26 12:06:58 +01:00 committed by GitHub
commit 9eb73d4f2d

View file

@ -20,6 +20,9 @@
target="_blank"
download={attachment.name}
href={attachment.url}
on:click={e => {
e.stopPropagation()
}}
>
<div class="center" title={attachment.name}>
<img src={attachment.url} alt={attachment.extension} />
@ -32,6 +35,9 @@
target="_blank"
download={attachment.name}
href={attachment.url}
on:click={e => {
e.stopPropagation()
}}
>
{attachment.extension}
</Link>