react-autowhatever
Advanced tools
Comparing version 1.3.4 to 1.3.5
@@ -171,5 +171,8 @@ 'use strict'; | ||
var noItemsExist = items.every(function (section) { | ||
return getSectionItems(section).length === 0; | ||
var sectionItemsArray = items.map(function (section) { | ||
return getSectionItems(section); | ||
}); | ||
var noItemsExist = sectionItemsArray.every(function (sectionItems) { | ||
return sectionItems.length === 0; | ||
}); | ||
@@ -208,3 +211,3 @@ if (noItemsExist) { | ||
theme('section-items-container', 'section-items-container'), | ||
_this2.renderItemsList(theme, getSectionItems(section), sectionIndex) | ||
_this2.renderItemsList(theme, sectionItemsArray[sectionIndex], sectionIndex) | ||
) | ||
@@ -211,0 +214,0 @@ ); |
{ | ||
"name": "react-autowhatever", | ||
"version": "1.3.4", | ||
"version": "1.3.5", | ||
"description": "Accessible rendering layer for Autosuggest and Autocomplete components", | ||
@@ -5,0 +5,0 @@ "main": "dist/Autowhatever.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17455
268