diff options
author | Saturnino Abril <saturnino.abril@gmail.com> | 2017-06-29 22:39:57 +0800 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2017-06-29 10:39:57 -0400 |
commit | 648f333850163efeac486c4b07eb47da415a9c98 (patch) | |
tree | 1b441666d3a58f39efb0cb5396ede217ed841c9a /webapp/components/setting_picture.jsx | |
parent | e1168ab7cc9770ab71fda6994ee80ef0e64e15d7 (diff) | |
download | chat-648f333850163efeac486c4b07eb47da415a9c98.tar.gz chat-648f333850163efeac486c4b07eb47da415a9c98.tar.bz2 chat-648f333850163efeac486c4b07eb47da415a9c98.zip |
[PLT-6496] Remove System Console and config settings for image height and width (#6688)
* remove System Console and config settings for image height and width
* add constants and update config.json
* updated as per review
Diffstat (limited to 'webapp/components/setting_picture.jsx')
-rw-r--r-- | webapp/components/setting_picture.jsx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/webapp/components/setting_picture.jsx b/webapp/components/setting_picture.jsx index 2d389a902..faa463cc7 100644 --- a/webapp/components/setting_picture.jsx +++ b/webapp/components/setting_picture.jsx @@ -7,9 +7,10 @@ import React, {Component} from 'react'; import {FormattedMessage} from 'react-intl'; import FormError from 'components/form_error.jsx'; - import loadingGif from 'images/load.gif'; +import Constants from 'utils/constants.jsx'; + export default class SettingPicture extends Component { static propTypes = { clientError: PropTypes.string, @@ -114,8 +115,8 @@ export default class SettingPicture extends Component { id='setting_picture.help' defaultMessage='Upload a profile picture in BMP, JPG, JPEG or PNG format, at least {width}px in width and {height}px height.' values={{ - width: global.mm_config.ProfileWidth, - height: global.mm_config.ProfileHeight + width: Constants.PROFILE_WIDTH, + height: Constants.PROFILE_WIDTH }} /> </li> |