Commit 70a4971f authored by Magnus Westergaard's avatar Magnus Westergaard
Browse files

DEICH-4660: Made cancel button work in delete section modal.

parent 03802bf9
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
{#if showDeleteConfirmModal} {#if showDeleteConfirmModal}
<Modal <Modal
on:confirm="{confirmDeleteCampaign}" on:confirm="{confirmDeleteCampaign}"
on:cancel="{(() => (showDeleteConfirmModal = false), (indexOfItemToDelete = null))}"> on:cancel="{() => { showDeleteConfirmModal = false; indexOfItemToDelete = null }}">
<div slot="content"> <div slot="content">
<p>Er du sikker på at du ønsker å slette denne?</p> <p>Er du sikker på at du ønsker å slette denne?</p>
</div> </div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment