From 82d3d8d0486b41dd6a5d2a0b1e42a73434137779 Mon Sep 17 00:00:00 2001 From: JazzarKarim Date: Thu, 18 Jan 2024 15:41:46 -0800 Subject: [PATCH] Fixed amalgamating business length to be more than 1 --- package-lock.json | 4 ++-- package.json | 2 +- src/components/Amalgamation/BusinessTable.vue | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8aa9d0b2e..99218187e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "business-create-ui", - "version": "5.6.40", + "version": "5.6.41", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "business-create-ui", - "version": "5.6.40", + "version": "5.6.41", "dependencies": { "@babel/compat-data": "^7.21.5", "@bcrs-shared-components/approval-type": "1.0.19", diff --git a/package.json b/package.json index c82e5e437..ad24adf0a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "business-create-ui", - "version": "5.6.40", + "version": "5.6.41", "private": true, "appName": "Create UI", "sbcName": "SBC Common Components", diff --git a/src/components/Amalgamation/BusinessTable.vue b/src/components/Amalgamation/BusinessTable.vue index 9ab90eff4..164f41586 100644 --- a/src/components/Amalgamation/BusinessTable.vue +++ b/src/components/Amalgamation/BusinessTable.vue @@ -181,7 +181,7 @@ export default class BusinessTable extends Mixins(AmalgamationMixin) { @Emit('valid') private emitValidity (): boolean { return ( - (this.businesses.length > 0) && + (this.businesses.length > 1) && this.businesses.every(business => business.status === AmlStatuses.OK) ) }