Updated lists to make account search work

• Updated:
- lists to make account search work for adding new members
This commit is contained in:
Developer 2021-02-10 12:41:41 -05:00
parent ab2521b880
commit 3e9e32b276
2 changed files with 1 additions and 5 deletions

View File

@ -289,8 +289,6 @@ export const fetchListAccountsFail = (id, error) => ({
export const fetchListSuggestions = (q) => (dispatch, getState) => { export const fetchListSuggestions = (q) => (dispatch, getState) => {
if (!me) return if (!me) return
return false
const params = { const params = {
q, q,
resolve: false, resolve: false,

View File

@ -74,9 +74,7 @@ class ListEdit extends ImmutablePureComponent {
} }
handleSearchSuggestionsKeyUp = (e) => { handleSearchSuggestionsKeyUp = (e) => {
if (e.keyCode === 13) { this.props.onSubmitSearchSuggestions(this.props.searchSuggestionsValue)
this.props.onSubmitSearchSuggestions(this.props.searchSuggestionsValue)
}
} }
handleSearchSuggestionsSubmit = () => { handleSearchSuggestionsSubmit = () => {