From 14e5d0e7405f010e0d55aa31b0f3fd5f050d4f57 Mon Sep 17 00:00:00 2001 From: Nicolai Ort Date: Thu, 18 Feb 2021 15:45:38 +0100 Subject: [PATCH] Fixed address update bug ref #50 --- src/components/ContactDetail.svelte | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/ContactDetail.svelte b/src/components/ContactDetail.svelte index 6777bcb0..736f3b54 100644 --- a/src/components/ContactDetail.svelte +++ b/src/components/ContactDetail.svelte @@ -76,6 +76,8 @@ Object.assign(original_data, editable); original_data = editable; Object.assign(original_data, editable); + editable.address_checked = editable.address.address1 !== null; + original_data.address_checked = editable.address.address1 !== null; Toastify({ text: $_("updated-contact"), duration: 2500,