diff options
Diffstat (limited to 'webapp/components/add_users_to_team')
-rw-r--r-- | webapp/components/add_users_to_team/add_users_to_team.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webapp/components/add_users_to_team/add_users_to_team.jsx b/webapp/components/add_users_to_team/add_users_to_team.jsx index ed1a2a29c..691323568 100644 --- a/webapp/components/add_users_to_team/add_users_to_team.jsx +++ b/webapp/components/add_users_to_team/add_users_to_team.jsx @@ -12,7 +12,7 @@ import TeamStore from 'stores/team_store.jsx'; import Constants from 'utils/constants.jsx'; import {displayUsernameForUser} from 'utils/utils.jsx'; -import Client from 'client/web_client.jsx'; +import {Client4} from 'mattermost-redux/client'; import PropTypes from 'prop-types'; @@ -170,7 +170,7 @@ export default class AddUsersToTeam extends React.Component { onClick={() => onAdd(option)} > <ProfilePicture - src={`${Client.getUsersRoute()}/${option.id}/image?time=${option.last_picture_update}`} + src={Client4.getProfilePictureUrl(option.id, option.last_picture_update)} width='32' height='32' /> |