From 5b7f0865a0491a6faf2ed029fee78550cb6bb49a Mon Sep 17 00:00:00 2001 From: Donald Kibet Date: Sun, 27 Aug 2023 13:24:11 +0300 Subject: [PATCH] (chore) squash console log error as a result of incorrect config mapping (#166) --- configuration/dev-config.json | 19 ++++++++++++++++++- configuration/prod-config.json | 21 ++++++++++++--------- 2 files changed, 30 insertions(+), 10 deletions(-) diff --git a/configuration/dev-config.json b/configuration/dev-config.json index 9ef2a801..d47ae153 100644 --- a/configuration/dev-config.json +++ b/configuration/dev-config.json @@ -63,7 +63,9 @@ "Translation overrides": { "en": { "endVisit": "Check out", - "startVisit": "Check in" + "startVisit": "Check in", + "startAVisit": "Check in", + "endAVisit": "Check out" } } }, @@ -404,5 +406,20 @@ "conceptUuid": "5497AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" } ] + }, + "@openmrs/esm-patient-banner-app": { + "useCustomAddressLabel": { + "enabled": true, + "customAddressLabel": { + "district": "County", + "address4": "Ward", + "state": "Sub county", + "city": "Village", + "address1": "Postal Address", + "address6": "Location", + "address5": "Sub Location", + "address2": "Landmark" + } + } } } \ No newline at end of file diff --git a/configuration/prod-config.json b/configuration/prod-config.json index 669efe47..71ff1d2c 100644 --- a/configuration/prod-config.json +++ b/configuration/prod-config.json @@ -417,15 +417,18 @@ "830bef6d-b01f-449d-9f8d-ac0fede8dbd3", "d0aa9fd1-2ac5-45d8-9c5e-4317c622c8f5" ], - "customAddressLabel": { - "district": "County", - "address4": "Ward", - "state": "Sub county", - "city": "Village", - "address1": "Postal Address", - "address6": "Location", - "address5": "Sub Location", - "address2": "Landmark" + "useCustomAddressLabel": { + "enabled": true, + "customAddressLabel": { + "district": "County", + "address4": "Ward", + "state": "Sub county", + "city": "Village", + "address1": "Postal Address", + "address6": "Location", + "address5": "Sub Location", + "address2": "Landmark" + } } } } \ No newline at end of file