feat(front/file-uploader): make copy button in file list work again

This commit is contained in:
Alice Gaudon 2022-03-02 11:37:02 +01:00
parent a8f82564a5
commit 27f760d503
1 changed files with 1 additions and 3 deletions

View File

@ -224,9 +224,7 @@
{#if file.shouldBeDeleted}
Pending deletion
{:else}
<button class="copy-button" data-content="{file.url}">
<Icon name="copy"/>
<span class="tip">Copy URL</span></button><!-- todo -->
<CopyableText content="{file.url}" buttonMode/>
<Form action={route('delete-file-frontend', file.slug)} button
submitIcon="trash" submitText="delete" submitClass="danger"