mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-11 00:08:30 +01:00
Fix minor bug
This commit is contained in:
parent
61dd7680a4
commit
02d4662693
@ -13,6 +13,7 @@ const style = {
|
|||||||
minWidth: '300px',
|
minWidth: '300px',
|
||||||
maxWidth: '100%',
|
maxWidth: '100%',
|
||||||
margin: '5px 20px 15px 0px',
|
margin: '5px 20px 15px 0px',
|
||||||
|
background: '#f2f9fc',
|
||||||
};
|
};
|
||||||
class StrategyConfigure extends React.Component {
|
class StrategyConfigure extends React.Component {
|
||||||
|
|
||||||
|
@ -48,9 +48,9 @@ export default class InputList extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
onClose (index) {
|
onClose (index) {
|
||||||
const { field, list, setConfig } = this.props;
|
const { name, list, setConfig } = this.props;
|
||||||
list[index] = null;
|
list[index] = null;
|
||||||
setConfig(field, list.length === 1 ? '' : list.filter(Boolean).join(','));
|
setConfig(name, list.length === 1 ? '' : list.filter(Boolean).join(','));
|
||||||
}
|
}
|
||||||
|
|
||||||
render () {
|
render () {
|
||||||
|
Loading…
Reference in New Issue
Block a user