diff options
Diffstat (limited to 'webapp/components/suggestion/search_user_provider.jsx')
-rw-r--r-- | webapp/components/suggestion/search_user_provider.jsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/webapp/components/suggestion/search_user_provider.jsx b/webapp/components/suggestion/search_user_provider.jsx index eeaee68a7..b7234469a 100644 --- a/webapp/components/suggestion/search_user_provider.jsx +++ b/webapp/components/suggestion/search_user_provider.jsx @@ -3,6 +3,7 @@ import SuggestionStore from 'stores/suggestion_store.jsx'; import UserStore from 'stores/user_store.jsx'; +import Client from 'utils/web_client.jsx'; import React from 'react'; @@ -22,7 +23,7 @@ class SearchUserSuggestion extends React.Component { > <img className='profile-img rounded' - src={'/api/v1/users/' + item.id + '/image?time=' + item.update_at} + src={Client.getUsersRoute() + '/' + item.id + '/image?time=' + item.update_at} /> <i className='fa fa fa-plus-square'></i>{item.username} </div> |