Updated lists to make account search work
• Updated: - lists to make account search work for adding new members
This commit is contained in:
parent
ab2521b880
commit
3e9e32b276
|
@ -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,
|
||||||
|
|
|
@ -74,10 +74,8 @@ 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 = () => {
|
||||||
this.props.onSubmitSearchSuggestions(this.props.searchSuggestionsValue)
|
this.props.onSubmitSearchSuggestions(this.props.searchSuggestionsValue)
|
||||||
|
|
Loading…
Reference in New Issue