Add message telling FTS is disabled when no toot can be found because of this (#11112)
* Add message telling FTS is disabled when no toot can be found because of this Fixes #11082 * Remove info icon and reword message
This commit is contained in:
		@@ -48,7 +48,7 @@ export function submitSearch() {
 | 
			
		||||
        dispatch(importFetchedStatuses(response.data.statuses));
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
      dispatch(fetchSearchSuccess(response.data));
 | 
			
		||||
      dispatch(fetchSearchSuccess(response.data, value));
 | 
			
		||||
      dispatch(fetchRelationships(response.data.accounts.map(item => item.id)));
 | 
			
		||||
    }).catch(error => {
 | 
			
		||||
      dispatch(fetchSearchFail(error));
 | 
			
		||||
@@ -62,10 +62,11 @@ export function fetchSearchRequest() {
 | 
			
		||||
  };
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
export function fetchSearchSuccess(results) {
 | 
			
		||||
export function fetchSearchSuccess(results, searchTerm) {
 | 
			
		||||
  return {
 | 
			
		||||
    type: SEARCH_FETCH_SUCCESS,
 | 
			
		||||
    results,
 | 
			
		||||
    searchTerm,
 | 
			
		||||
  };
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user