diff --git a/ui/src/features/components/ConfigurationForm/index.js b/ui/src/features/components/ConfigurationForm/index.js index fda234254..b1bd03082 100644 --- a/ui/src/features/components/ConfigurationForm/index.js +++ b/ui/src/features/components/ConfigurationForm/index.js @@ -22,6 +22,7 @@ import Snackbar from 'material-ui/Snackbar'; import UiSwitcher from '../../../components/UiSwitcher'; import {get, set, pickBy} from 'lodash'; import Dropdown from "../../../components/Dropdown/Dropdown.export"; +import _ from "lodash"; const INPUT_TYPES = {SWITCHER: 'switcher', DROPDOWN: 'dropdown'}; const isMetricsDropdownHidden = (state, type) => (state.config.metrics_plugin_name ? state.config.metrics_plugin_name !== type : state.serverConfig.metrics_plugin_name !== type)