@eturnity/eturnity_reusable_components 6.46.5-EPDM-8891.1 → 6.46.5-EPDM-8891.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eturnity/eturnity_reusable_components",
3
- "version": "6.46.5-EPDM-8891.1",
3
+ "version": "6.46.5-EPDM-8891.2",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
@@ -525,8 +525,9 @@ export default {
525
525
  // this filterRef is needed to check for the # of children on Filter dropdowns
526
526
  const filterRef =
527
527
  this.$refs.dropdown.$children &&
528
- this.$refs.dropdown.$children.length &&
529
- this.$refs.dropdown.$children[0].$children
528
+ this.$refs.dropdown.$children.length > 1
529
+ ? this.$refs.dropdown.$children
530
+ : this.$refs.dropdown.$children[0].$children
530
531
  ? this.$refs.dropdown.$children[0].$children
531
532
  : this.$refs.dropdown.$children
532
533
  return filterRef.length
@@ -535,7 +536,6 @@ export default {
535
536
  }
536
537
  },
537
538
  isSearchBarVisible() {
538
- console.log('this.optionLength', this.optionLength)
539
539
  return this.isSearchable && this.optionLength >= 5 && this.isDropdownOpen
540
540
  }
541
541
  },