From 9fd24cdcfd2db2b6e27a1e834a6c36b5e0c5425b Mon Sep 17 00:00:00 2001 From: Vyacheslav Tumanov Date: Tue, 30 May 2023 15:04:10 +0500 Subject: [PATCH 1/3] UBER-278: add Yes-No to popup, refactor Signed-off-by: Vyacheslav Tumanov --- .../components/DeleteConfirmationPopup.svelte | 55 ++++++++++--------- 1 file changed, 28 insertions(+), 27 deletions(-) diff --git a/plugins/contact-resources/src/components/DeleteConfirmationPopup.svelte b/plugins/contact-resources/src/components/DeleteConfirmationPopup.svelte index c2fecefc38..659b3c13ce 100644 --- a/plugins/contact-resources/src/components/DeleteConfirmationPopup.svelte +++ b/plugins/contact-resources/src/components/DeleteConfirmationPopup.svelte @@ -13,40 +13,41 @@ // limitations under the License. --> - dispatch('close')}> + dispatch('close')} +> + + {#if canDelete} +