diff options
Diffstat (limited to 'webapp/components')
-rw-r--r-- | webapp/components/about_build_modal.jsx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/webapp/components/about_build_modal.jsx b/webapp/components/about_build_modal.jsx index 197179191..1f41d76f9 100644 --- a/webapp/components/about_build_modal.jsx +++ b/webapp/components/about_build_modal.jsx @@ -104,6 +104,11 @@ export default class AboutBuildModal extends React.Component { } } + let version = '\u00a0' + config.Version; + if (config.BuildNumber !== config.Version) { + version += '\u00a0 (' + config.BuildNumber + ')'; + } + return ( <Modal dialogClassName='about-modal' @@ -135,7 +140,7 @@ export default class AboutBuildModal extends React.Component { id='about.version' defaultMessage='Version:' /> - {'\u00a0' + config.Version + '\u00a0 (' + config.BuildNumber + ')'} + {version} </div> <div> <FormattedMessage |