From 1c482b92ce968a00260a8acf69933137912a7c71 Mon Sep 17 00:00:00 2001 From: Paul <144158015+PaulGarewal@users.noreply.github.com> Date: Tue, 28 Nov 2023 12:01:36 -0800 Subject: [PATCH] =?UTF-8?q?18716=20added=20phone=20number=20and=20email=20?= =?UTF-8?q?address=20to=20name=20request=20correction=E2=80=A6=20(#547)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 18716 added phone number and email address to name request correction on file and pay * updated package json * removed debug code --- package-lock.json | 4 ++-- package.json | 2 +- src/components/common/Actions.vue | 9 ++++++++- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index f0ee7aa6..6c4974b0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "business-edit-ui", - "version": "4.7.9", + "version": "4.7.10", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "business-edit-ui", - "version": "4.7.9", + "version": "4.7.10", "dependencies": { "@babel/compat-data": "^7.21.5", "@bcrs-shared-components/action-chip": "1.1.5", diff --git a/package.json b/package.json index f6cd2dbb..f37e97f8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "business-edit-ui", - "version": "4.7.9", + "version": "4.7.10", "private": true, "appName": "Edit UI", "sbcName": "SBC Common Components", diff --git a/src/components/common/Actions.vue b/src/components/common/Actions.vue index 9c894d18..e248a383 100644 --- a/src/components/common/Actions.vue +++ b/src/components/common/Actions.vue @@ -167,7 +167,14 @@ export default class Actions extends Mixins(DateMixin, FilingTemplateMixin, Name // Request is invalid, and clicking OK in the pop up redirects to My Business Registry. if (this.getNameRequestNumber) { try { - await this.validateNameRequest(this.getNameRequestNumber) + if (this.getNameRequest.applicant) { + await this.validateNameRequest( + this.getNameRequestNumber, + this.getNameRequest.applicant.phoneNumber, + this.getNameRequest.applicant.emailAddress) + } else { + await this.validateNameRequest(this.getNameRequestNumber) + } } catch (error) { // "validateNameRequest" handles its own errors this.setIsFilingPaying(false)