r-dropdown-button
Advanced tools
Comparing version 2.1.4 to 2.1.5
@@ -441,3 +441,4 @@ "use strict"; | ||
var searchValue = this.state.searchValue; | ||
var Items = typeof items === 'function' ? items(this.context) : items.filter(function (item) { | ||
var content = typeof items === 'function' ? items(this.context) : items; | ||
var Items = !Array.isArray(content) ? content : content.filter(function (item) { | ||
if (!searchValue) { | ||
@@ -575,3 +576,3 @@ return true; | ||
className: "rdb-list-item".concat(className ? ' ' + className : '').concat(disabled ? ' disabled' : ''), | ||
style: getValue(item.style), | ||
style: getValue(item.style),title:'', | ||
onClick: this.click.bind(this) | ||
@@ -578,0 +579,0 @@ }; |
{ | ||
"name": "r-dropdown-button", | ||
"version": "2.1.4", | ||
"version": "2.1.5", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
25056
695