mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
fix dropdown
This commit is contained in:
parent
ce0bfee196
commit
da6f2fe382
@ -40,8 +40,8 @@ class AddStrategy extends React.Component {
|
||||
return (
|
||||
<div style={containerStyle}>
|
||||
<div style={contentStyle}>
|
||||
<strong>{item.name}</strong>
|
||||
<small>{item.description}</small>
|
||||
<strong>{item.name}</strong>
|
||||
<small>{item.description}</small>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
@ -54,15 +54,14 @@ class AddStrategy extends React.Component {
|
||||
});
|
||||
|
||||
return (
|
||||
<div>
|
||||
<Dropdown
|
||||
auto={false}
|
||||
source={strats}
|
||||
onChange={this.addStrategy}
|
||||
label="Select activation strategy to add"
|
||||
template={this.customItem}
|
||||
/>
|
||||
</div>
|
||||
<Dropdown
|
||||
auto={false}
|
||||
source={strats}
|
||||
onChange={this.addStrategy}
|
||||
label="Select activation strategy to add"
|
||||
template={this.customItem}
|
||||
value={this.props.strategies[0].name}
|
||||
/>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user