1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-08-04 13:48:56 +02:00

fix dropdown

This commit is contained in:
sveisvei 2016-10-25 23:28:31 +02:00 committed by Ivar Conradi Østhus
parent ce0bfee196
commit da6f2fe382

View File

@ -54,15 +54,14 @@ class AddStrategy extends React.Component {
}); });
return ( return (
<div>
<Dropdown <Dropdown
auto={false} auto={false}
source={strats} source={strats}
onChange={this.addStrategy} onChange={this.addStrategy}
label="Select activation strategy to add" label="Select activation strategy to add"
template={this.customItem} template={this.customItem}
value={this.props.strategies[0].name}
/> />
</div>
); );
} }
} }