1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-28 00:17:12 +01:00
This commit is contained in:
sveisvei 2016-12-10 23:23:34 +01:00
parent e299f88062
commit da968cbc2c

View File

@ -68,7 +68,10 @@ class StrategyConfigure extends React.Component {
} else if (type === 'list') {
let list = [];
if (typeof value === 'string') {
list = value.split(',');
list = value
.trim()
.split(',')
.filter(Boolean);
}
return (<StrategyInputList field={field} list={list} setConfig={this.setConfig} />);
} else {