diff --git a/package-lock.json b/package-lock.json index 6f9ea7427..54d0e9b82 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "name-request", - "version": "5.2.9", + "version": "5.2.10", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "name-request", - "version": "5.2.9", + "version": "5.2.10", "dependencies": { "@babel/compat-data": "^7.21.5", "@bcrs-shared-components/breadcrumb": "2.1.24", diff --git a/package.json b/package.json index de9ae4592..de148a1a1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "name-request", - "version": "5.2.9", + "version": "5.2.10", "private": true, "appName": "Name Request UI", "sbcName": "SBC Common Components", diff --git a/src/components/new-request/name-input.vue b/src/components/new-request/name-input.vue index 01aea625c..5e735afde 100644 --- a/src/components/new-request/name-input.vue +++ b/src/components/new-request/name-input.vue @@ -97,11 +97,14 @@ export default class NameInput extends Vue { get message (): string[] { if (this.getErrors.includes('name')) { - if (this.isMrasSearch) { - return ['Please enter a corporation number to search for'] - } else { - return ['Please enter the business\'s full legal name in home jurisdiction'] + if (this.isXproFlow) { + if (this.isMrasJurisdiction && !this.getHasNoCorpNum) { + return ['Please enter a corporation number to search for'] + } else { + return ['Please enter the business\'s full legal name in home jurisdiction'] + } } + return ['Please enter a name for the business'] } if (this.getErrors.includes('length')) {