diff options
author | Carlos Tadeu Panato Junior <ctadeu@gmail.com> | 2017-06-28 07:38:57 +0200 |
---|---|---|
committer | Saturnino Abril <saturnino.abril@gmail.com> | 2017-06-28 13:38:57 +0800 |
commit | 155c6600aa2f7e9e23aa4117326fbbd5fd441da3 (patch) | |
tree | 637a02be11c42599cebae574e2e269c811070afc /webapp/components/announcement_bar/announcement_bar.jsx | |
parent | a2f7de52c3d18232e18ebb65730069071ea31955 (diff) | |
download | chat-155c6600aa2f7e9e23aa4117326fbbd5fd441da3.tar.gz chat-155c6600aa2f7e9e23aa4117326fbbd5fd441da3.tar.bz2 chat-155c6600aa2f7e9e23aa4117326fbbd5fd441da3.zip |
[PLT-6599] Add link to check Websocket port error message (#6743)
Diffstat (limited to 'webapp/components/announcement_bar/announcement_bar.jsx')
-rw-r--r-- | webapp/components/announcement_bar/announcement_bar.jsx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/webapp/components/announcement_bar/announcement_bar.jsx b/webapp/components/announcement_bar/announcement_bar.jsx index 5d64d4d0f..0e731fd7c 100644 --- a/webapp/components/announcement_bar/announcement_bar.jsx +++ b/webapp/components/announcement_bar/announcement_bar.jsx @@ -254,6 +254,13 @@ export default class AnnouncementBar extends React.PureComponent { defaultMessage='Enterprise license is expired and some features may be disabled. Please contact your System Administrator for details.' /> ); + } else if (message === ErrorBarTypes.WEBSOCKET_PORT_ERROR) { + message = ( + <FormattedHTMLMessage + id={ErrorBarTypes.WEBSOCKET_PORT_ERROR} + defaultMessage='Please check connection, Mattermost unreachable. If issue persists, ask administrator to <a href="https://about.mattermost.com/default-websocket-port-help" target="_blank">check WebSocket port</a>.' + /> + ); } else if (message === ErrorBarTypes.SITE_URL) { let id; let defaultMessage; |