fixup delete confirmation modals

This commit is contained in:
Nikita Galaiko 2023-05-11 14:13:39 +02:00
parent d88492735a
commit d98583ea85
2 changed files with 2 additions and 8 deletions

View File

@ -236,11 +236,7 @@
</div>
</div>
<Modal bind:this={deleteConfirmationModal}>
<svelte:fragment slot="title">
Delete {$project.title}?
</svelte:fragment>
<Modal bind:this={deleteConfirmationModal} title="Delete {$project.title}?">
<p>
Are you sure you want to delete the project,
<span class="font-bold text-white">{$project.title}</span>? This cant be undone.

View File

@ -257,9 +257,7 @@
</div>
</div>
<Modal bind:this={deleteConfirmationModal}>
<svelte:fragment slot="title">Delete all local data?</svelte:fragment>
<Modal bind:this={deleteConfirmationModal} title="Delete all local data?">
<p>Are you sure you want to delete all local data? This cant be undone.</p>
<svelte:fragment slot="controls" let:close>