From 1bdc5d30f2b7df50a84497c4c13c76a735fd7990 Mon Sep 17 00:00:00 2001 From: Adam Caouette Date: Thu, 25 May 2023 14:20:06 -0400 Subject: [PATCH] CSR-1419: temp test to troubleshoot in dev only --- .../mobile-location-modal-questions.vue | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/layouts/service-location/mobile-location-modal-questions/mobile-location-modal-questions.vue b/src/layouts/service-location/mobile-location-modal-questions/mobile-location-modal-questions.vue index 48642101c..5eca32e63 100644 --- a/src/layouts/service-location/mobile-location-modal-questions/mobile-location-modal-questions.vue +++ b/src/layouts/service-location/mobile-location-modal-questions/mobile-location-modal-questions.vue @@ -236,6 +236,16 @@ export default { }); }, async setMobileLocation() { + // START - TEMP CODE FROM A CAOUETTE 5/25/23 TO BE REMOVED BY EOD + let tempTest = false; + let internalModelAddressQuestions = this.internalModel.addressQuestions; + let modelValueAddressQuestions = this.modelValue.addressQuestions; + if (tempTest) { // THIS WILL NEVER BE TRUE + console.warn(internalModelAddressQuestions); + console.warn(modelValueAddressQuestions); + } + // END - TEMP CODE FROM A CAOUETTE 5/25/23 TO BE REMOVED BY EOD + if ( this.internalModel.addressQuestions.zipCode !== this.modelValue.addressQuestions.zipCode @@ -270,6 +280,12 @@ export default { this.closeModal(); } + } else { + // START - TEMP CODE FROM A CAOUETTE 5/25/23 TO BE REMOVED BY EOD + if (tempTest) { // THIS WILL NEVER BE TRUE + console.warn("the zips match and the exception was run"); + } + // END - TEMP CODE FROM A CAOUETTE 5/25/23 TO BE REMOVED BY EOD } }, },