diff options
author | Robin Naundorf <r.naundorf@fh-muenster.de> | 2017-02-07 19:15:32 +0100 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2017-02-07 10:15:32 -0800 |
commit | f7d5a770601fa223a27bc93aee348b6527d5a7a4 (patch) | |
tree | c64698d42ca2d6b7a643fcdc211f5edd9821a2bc /webapp | |
parent | 9dc76c18231f158ab71dfcfae2f1659a4f2a5396 (diff) | |
download | chat-f7d5a770601fa223a27bc93aee348b6527d5a7a4.tar.gz chat-f7d5a770601fa223a27bc93aee348b6527d5a7a4.tar.bz2 chat-f7d5a770601fa223a27bc93aee348b6527d5a7a4.zip |
Fix issue introduced by adding webapp/utils/url.jsx (#5327)
New location for getShortenedTeamURL() was missing in new channel
modal.
Diffstat (limited to 'webapp')
-rw-r--r-- | webapp/components/new_channel_modal.jsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/webapp/components/new_channel_modal.jsx b/webapp/components/new_channel_modal.jsx index 0a73c9fab..3a6e8b67f 100644 --- a/webapp/components/new_channel_modal.jsx +++ b/webapp/components/new_channel_modal.jsx @@ -4,6 +4,7 @@ import $ from 'jquery'; import ReactDOM from 'react-dom'; +import {getShortenedTeamURL} from 'utils/url.jsx'; import * as UserAgent from 'utils/user_agent.jsx'; import * as Utils from 'utils/utils.jsx'; import * as ChannelUtils from 'utils/channel_utils.jsx'; @@ -189,7 +190,7 @@ export default class NewChannelModal extends React.Component { break; } - const prettyTeamURL = Utils.getShortenedTeamURL(); + const prettyTeamURL = getShortenedTeamURL(); return ( <span> |