Skip to content

Commit

Permalink
Fix issue introduced by adding webapp/utils/url.jsx (#5327)
Browse files Browse the repository at this point in the history
New location for getShortenedTeamURL() was missing in new channel
modal.
  • Loading branch information
senk authored and hmhealey committed Feb 7, 2017
1 parent 9dc76c1 commit f7d5a77
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webapp/components/new_channel_modal.jsx
Expand Up @@ -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';
Expand Down Expand Up @@ -189,7 +190,7 @@ export default class NewChannelModal extends React.Component {
break;
}

const prettyTeamURL = Utils.getShortenedTeamURL();
const prettyTeamURL = getShortenedTeamURL();

return (
<span>
Expand Down

0 comments on commit f7d5a77

Please sign in to comment.