diff --git a/vue/sbc-common-components/package-lock.json b/vue/sbc-common-components/package-lock.json index 3a20cf2..ea7eaa0 100644 --- a/vue/sbc-common-components/package-lock.json +++ b/vue/sbc-common-components/package-lock.json @@ -1,12 +1,12 @@ { "name": "sbc-common-components", - "version": "3.0.13", + "version": "3.0.14", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "sbc-common-components", - "version": "3.0.12", + "version": "3.0.14", "license": "Apache-2.0", "dependencies": { "@mdi/font": "^4.5.95", diff --git a/vue/sbc-common-components/package.json b/vue/sbc-common-components/package.json index 232c5ab..a5f2af0 100644 --- a/vue/sbc-common-components/package.json +++ b/vue/sbc-common-components/package.json @@ -1,6 +1,6 @@ { "name": "sbc-common-components", - "version": "3.0.13", + "version": "3.0.14", "private": false, "description": "Common Vue Components to be used across BC Registries and Online Services.", "license": "Apache-2.0", diff --git a/vue/sbc-common-components/src/components/SbcHeader.vue b/vue/sbc-common-components/src/components/SbcHeader.vue index a008f6a..479de97 100644 --- a/vue/sbc-common-components/src/components/SbcHeader.vue +++ b/vue/sbc-common-components/src/components/SbcHeader.vue @@ -582,11 +582,12 @@ export default class SbcHeader extends Mixins(NavigationMixin) { this.redirectToPath(this.inAuth, `${Pages.ACCOUNT}/${this.currentAccount.id}/${Pages.SETTINGS}/transactions`) } - private checkAccountStatus () { + async checkAccountStatus () { // redirect if accoutn status is suspended if ([AccountStatus.NSF_SUSPENDED, AccountStatus.SUSPENDED].some(status => status === this.currentAccount?.accountStatus)) { // Avoid redirecting when navigating back from PAYBC for NSF. - if (window.location.pathname.indexOf('return-cc-payment') === -1) { + if (window.location.pathname.indexOf('return-cc-payment') === -1 && + window.location.pathname.indexOf('signout') === -1) { this.redirectToPath(this.inAuth, `${Pages.ACCOUNT_FREEZ}`) } } else if (this.currentAccount?.accountStatus === AccountStatus.PENDING_STAFF_REVIEW) {