feat(front/file-uploader): make copy button in file list work again
This commit is contained in:
parent
a8f82564a5
commit
27f760d503
@ -224,9 +224,7 @@
|
|||||||
{#if file.shouldBeDeleted}
|
{#if file.shouldBeDeleted}
|
||||||
Pending deletion
|
Pending deletion
|
||||||
{:else}
|
{:else}
|
||||||
<button class="copy-button" data-content="{file.url}">
|
<CopyableText content="{file.url}" buttonMode/>
|
||||||
<Icon name="copy"/>
|
|
||||||
<span class="tip">Copy URL</span></button><!-- todo -->
|
|
||||||
|
|
||||||
<Form action={route('delete-file-frontend', file.slug)} button
|
<Form action={route('delete-file-frontend', file.slug)} button
|
||||||
submitIcon="trash" submitText="delete" submitClass="danger"
|
submitIcon="trash" submitText="delete" submitClass="danger"
|
||||||
|
Loading…
Reference in New Issue
Block a user