From b3afe9fb16523415f3bceafde9bb80b4d229e2b2 Mon Sep 17 00:00:00 2001 From: fengpan Date: Fri, 17 Feb 2017 21:58:39 +0800 Subject: Rename channel (#5322) * fix react proptypes * Replace the handle field and label with url * Update rename channel url correctly * fix merge * fix after test-1 * update i18n --- webapp/components/new_channel_modal.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'webapp/components/new_channel_modal.jsx') diff --git a/webapp/components/new_channel_modal.jsx b/webapp/components/new_channel_modal.jsx index 3a6e8b67f..2f9533b0e 100644 --- a/webapp/components/new_channel_modal.jsx +++ b/webapp/components/new_channel_modal.jsx @@ -4,7 +4,7 @@ import $ from 'jquery'; import ReactDOM from 'react-dom'; -import {getShortenedTeamURL} from 'utils/url.jsx'; +import {getShortenedURL} 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'; @@ -190,7 +190,7 @@ export default class NewChannelModal extends React.Component { break; } - const prettyTeamURL = getShortenedTeamURL(); + const prettyTeamURL = getShortenedURL(); return ( -- cgit v1.2.3-1-g7c22