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

View File

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