diff options
author | ThibG <thib@sitedethib.com> | 2019-08-22 04:37:18 +0200 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2019-09-02 10:57:44 +0200 |
commit | 12c188f5339d75616a88bf779c1f31d0076a9e24 (patch) | |
tree | f1847ed8d70efcacc7c08663ea77f1c6be228f17 /app/javascript/flavours/glitch/actions/compose.js | |
parent | e1810eed8e8c31d6a39fe5d13f92f5fd6fa10967 (diff) |
[Glitch] Restore hashtag suggestions from local tag history
Port 5ab1e0e738183a0ddcec140d55184351f751b22d to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch/actions/compose.js')
-rw-r--r-- | app/javascript/flavours/glitch/actions/compose.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/actions/compose.js b/app/javascript/flavours/glitch/actions/compose.js index 16b0e7ad2..e1da03745 100644 --- a/app/javascript/flavours/glitch/actions/compose.js +++ b/app/javascript/flavours/glitch/actions/compose.js @@ -383,6 +383,8 @@ const fetchComposeSuggestionsTags = throttle((dispatch, getState, token) => { cancelFetchComposeSuggestionsTags(); } + dispatch(updateSuggestionTags(token)); + api(getState).get('/api/v2/search', { cancelToken: new CancelToken(cancel => { cancelFetchComposeSuggestionsTags = cancel; |