From e0ea9fd07f25cd3826a1f5cb7e0390b4fec035cd Mon Sep 17 00:00:00 2001 From: Vyacheslav Tumanov Date: Tue, 30 May 2023 17:03:37 +0500 Subject: [PATCH] UBER-278: add Yes-No to popup, refactor (#3289) Signed-off-by: Vyacheslav Tumanov --- .../components/DeleteConfirmationPopup.svelte | 56 ++++++++++--------- tests/sanity/tests/contacts.spec.ts | 2 +- 2 files changed, 30 insertions(+), 28 deletions(-) diff --git a/plugins/contact-resources/src/components/DeleteConfirmationPopup.svelte b/plugins/contact-resources/src/components/DeleteConfirmationPopup.svelte index c2fecefc38..23add26eca 100644 --- a/plugins/contact-resources/src/components/DeleteConfirmationPopup.svelte +++ b/plugins/contact-resources/src/components/DeleteConfirmationPopup.svelte @@ -13,40 +13,42 @@ // limitations under the License. --> - dispatch('close')}> + dispatch('close')} +> + + {#if canDelete} +