From 02d4662693195f7dab2d7d7508066a07e8245741 Mon Sep 17 00:00:00 2001 From: ivaosthu Date: Mon, 19 Dec 2016 21:23:45 +0100 Subject: [PATCH] Fix minor bug --- frontend/src/component/feature/form/strategy-configure.jsx | 1 + frontend/src/component/feature/form/strategy-input-list.jsx | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/src/component/feature/form/strategy-configure.jsx b/frontend/src/component/feature/form/strategy-configure.jsx index cafd6cdbd0..f5a074598c 100644 --- a/frontend/src/component/feature/form/strategy-configure.jsx +++ b/frontend/src/component/feature/form/strategy-configure.jsx @@ -13,6 +13,7 @@ const style = { minWidth: '300px', maxWidth: '100%', margin: '5px 20px 15px 0px', + background: '#f2f9fc', }; class StrategyConfigure extends React.Component { diff --git a/frontend/src/component/feature/form/strategy-input-list.jsx b/frontend/src/component/feature/form/strategy-input-list.jsx index b2a4301c6a..71f611b61c 100644 --- a/frontend/src/component/feature/form/strategy-input-list.jsx +++ b/frontend/src/component/feature/form/strategy-input-list.jsx @@ -48,9 +48,9 @@ export default class InputList extends Component { } onClose (index) { - const { field, list, setConfig } = this.props; + const { name, list, setConfig } = this.props; list[index] = null; - setConfig(field, list.length === 1 ? '' : list.filter(Boolean).join(',')); + setConfig(name, list.length === 1 ? '' : list.filter(Boolean).join(',')); } render () {