From f7d5a770601fa223a27bc93aee348b6527d5a7a4 Mon Sep 17 00:00:00 2001 From: Robin Naundorf Date: Tue, 7 Feb 2017 19:15:32 +0100 Subject: Fix issue introduced by adding webapp/utils/url.jsx (#5327) New location for getShortenedTeamURL() was missing in new channel modal. --- webapp/components/new_channel_modal.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ( -- cgit v1.2.3-1-g7c22