Add loading indicator and empty result message to advanced interface search (#30085)
This commit is contained in:
parent
ac7f4d57bb
commit
7d3fe2b4c3
4 changed files with 62 additions and 75 deletions
|
@ -50,6 +50,7 @@ export default function search(state = initialState, action) {
|
|||
return state.set('hidden', true);
|
||||
case SEARCH_FETCH_REQUEST:
|
||||
return state.withMutations(map => {
|
||||
map.set('results', ImmutableMap());
|
||||
map.set('isLoading', true);
|
||||
map.set('submitted', true);
|
||||
map.set('type', action.searchType);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue