From 20e137d41d5d99ab06b582c2a7f824743300aa06 Mon Sep 17 00:00:00 2001 From: Arwen Qin <122495122+ArwenQin@users.noreply.github.com> Date: Thu, 20 Jun 2024 15:58:32 -0700 Subject: [PATCH] Updatedd Staff Payment Restore (#715) Signed-off-by: Qin --- package-lock.json | 4 ++-- package.json | 2 +- src/App.vue | 14 +++++++------- 3 files changed, 10 insertions(+), 10 deletions(-) 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?