-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
24667 - fix missing body for filing when bootstrap business (#108)
* 24817 - fix: wrong redirect; missing start date for filngs. * chore: remove comment. * 24667 - fix missing body for retrieve business information button when bootsrap business. * fix: eslint * fix: lang texts. * fix: boostrapName missing. * fix: cleanup log out.
- Loading branch information
Showing
6 changed files
with
41 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
/** Reloads Filings UI using business id instead of temporary registration number. */ | ||
export const reloadWithBusinessId = () => { | ||
export const reloadWithBusinessId = (filing: ApiResponseFilingI) => { | ||
// build the URL to the business dashboard with the business id and any URL parameters | ||
// const url = getDashboardUrl + filing.businessIdentifier // + this.$route.fullPath | ||
const url = window.location.href | ||
window.location.assign(url) | ||
const businessIdentifier = filing.businessIdentifier | ||
const url = new URL(window.location.href) | ||
url.pathname = `/${businessIdentifier}` | ||
window.location.assign(url.toString()) | ||
} |