diff --git a/package-lock.json b/package-lock.json index 4f870759..703fe6b1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "business-create-ui", - "version": "5.11.3", + "version": "5.11.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "business-create-ui", - "version": "5.11.3", + "version": "5.11.4", "dependencies": { "@babel/compat-data": "^7.21.5", "@bcrs-shared-components/approval-type": "1.0.19", diff --git a/package.json b/package.json index bbaffbc3..d3cbb89e 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/App.vue b/src/App.vue index d287e5e6..0eeb878d 100644 --- a/src/App.vue +++ b/src/App.vue @@ -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 @@ -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?