Skip to content

Commit

Permalink
- app version = 5.2.10
Browse files Browse the repository at this point in the history
- fixed Name Input error message logic
  • Loading branch information
severinbeauvais committed Oct 16, 2023
1 parent 9c98f0e commit 92784ce
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
11 changes: 7 additions & 4 deletions src/components/new-request/name-input.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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')) {
Expand Down

0 comments on commit 92784ce

Please sign in to comment.