Fix issue introduced by adding webapp/utils/url.jsx (#5327)

New location for getShortenedTeamURL() was missing in new channel
modal.
Этот коммит содержится в:
Robin Naundorf
2017-02-07 19:15:32 +01:00
коммит произвёл Harrison Healey
родитель 9dc76c1823
Коммит f7d5a77060

Просмотреть файл

@@ -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>