diff options
Diffstat (limited to 'app/assets/javascripts/components/actions')
-rw-r--r-- | app/assets/javascripts/components/actions/compose.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/components/actions/compose.jsx b/app/assets/javascripts/components/actions/compose.jsx index e27b606ee..b576c7444 100644 --- a/app/assets/javascripts/components/actions/compose.jsx +++ b/app/assets/javascripts/components/actions/compose.jsx @@ -143,7 +143,7 @@ export function fetchComposeSuggestions(token) { return (dispatch, getState) => { const loadedCandidates = getState().get('accounts').filter(item => item.get('acct').toLowerCase().slice(0, token.length) === token).map(item => ({ label: item.get('acct'), - completion: item.get('acct').slice(0, token.length) + completion: item.get('acct').slice(token.length) })).toList().toJS(); dispatch(readyComposeSuggestions(loadedCandidates)); |