Skip to content

Commit

Permalink
18201 Fix error after pressing Incorporate now (#749)
Browse files Browse the repository at this point in the history
* fixed the bug

* update version

* update according to review
  • Loading branch information
eve-git authored Dec 5, 2023
1 parent b08fc6c commit 43a847d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 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.3.10",
"version": "5.3.11",
"private": true,
"appName": "Name Request UI",
"sbcName": "SBC Common Components",
Expand Down
3 changes: 1 addition & 2 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,7 @@ export default class App extends Mixins(
// if there is stored legal type for an IA then incorporate/register it now
const legaltype = sessionStorage.getItem('LEGAL_TYPE')
if (legaltype) {
if (legaltype && this.isAuthenticated) {
try {
if (this.isNewBusiness) {
await this.incorporateNow(legaltype as CorpTypeCd)
Expand Down

0 comments on commit 43a847d

Please sign in to comment.