Skip to content

Commit

Permalink
Fixed amalgamating business length to be more than 1
Browse files Browse the repository at this point in the history
  • Loading branch information
JazzarKarim committed Jan 18, 2024
1 parent 95276ad commit 82d3d8d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 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.6.40",
"version": "5.6.41",
"private": true,
"appName": "Create UI",
"sbcName": "SBC Common Components",
Expand Down
2 changes: 1 addition & 1 deletion src/components/Amalgamation/BusinessTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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)
)
}
Expand Down

0 comments on commit 82d3d8d

Please sign in to comment.