Skip to content

Commit

Permalink
Updatedd Staff Payment Restore (#715)
Browse files Browse the repository at this point in the history
Signed-off-by: Qin <[email protected]>
  • Loading branch information
ArwenQin authored Jun 20, 2024
1 parent 77d9d78 commit 20e137d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 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": "business-create-ui",
"version": "5.11.3",
"version": "5.11.4",
"private": true,
"appName": "Create UI",
"sbcName": "SBC Common Components",
Expand Down
14 changes: 7 additions & 7 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -700,6 +700,13 @@ export default class App extends Mixins(CommonMixin, DateMixin, FilingTemplateMi
throw error // go to catch()
})
// get Keycloak roles
const keycloakRoles = await this.loadKeycloakRoles().catch(error => {
console.log('Keycloak roles error =', error) // eslint-disable-line no-console
this.accountAuthorizationDialog = true
throw error // go to catch()
})
// handle the filing according to whether we have a business id or temp id
try {
// safety checks
Expand All @@ -723,13 +730,6 @@ export default class App extends Mixins(CommonMixin, DateMixin, FilingTemplateMi
throw error // go to catch()
}
// get Keycloak roles
const keycloakRoles = await this.loadKeycloakRoles().catch(error => {
console.log('Keycloak roles error =', error) // eslint-disable-line no-console
this.accountAuthorizationDialog = true
throw error // go to catch()
})
// Now that we know what type of filing this is, and what the user's roles are,
// add staff check for certain filings.
// FUTURE: enable this?
Expand Down

0 comments on commit 20e137d

Please sign in to comment.