adds stopPropagation modifier to delete file button
This commit is contained in:
parent
1062817cdb
commit
cc885f4852
|
@ -31,7 +31,7 @@
|
||||||
{:else}<i class="far fa-file" />{/if}
|
{:else}<i class="far fa-file" />{/if}
|
||||||
</a>
|
</a>
|
||||||
<span>{file.name}</span>
|
<span>{file.name}</span>
|
||||||
<div class="button-placement"><button primary on:click={() => openModal(file)}>×</button></div>
|
<div class="button-placement"><button primary on:click|stopPropagation={() => openModal(file)}>×</button></div>
|
||||||
</div>
|
</div>
|
||||||
{/each}
|
{/each}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue