diff --git a/scm-ui/src/groups/components/AutocompleteAddEntryToTableField.js b/scm-ui/src/groups/components/AutocompleteAddEntryToTableField.js index 405370d53c..440b6a0d7e 100644 --- a/scm-ui/src/groups/components/AutocompleteAddEntryToTableField.js +++ b/scm-ui/src/groups/components/AutocompleteAddEntryToTableField.js @@ -27,14 +27,14 @@ class AutocompleteAddEntryToTableField extends React.Component { this.state = { selectedValue: undefined }; } render() { - const { disabled, buttonLabel, fieldLabel, helpText } = this.props; + const { disabled, buttonLabel, fieldLabel, helpText, loadSuggestions } = this.props; const { selectedValue } = this.state; return (
{ render() { const { t, loading } = this.props; - const group = this.state.group; + const { group } = this.state; let nameField = null; if (!this.props.group) { nameField = (