diff options
author | fengpan <pan.feng@shareworks.cn> | 2017-02-17 21:58:39 +0800 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2017-02-17 08:58:39 -0500 |
commit | b3afe9fb16523415f3bceafde9bb80b4d229e2b2 (patch) | |
tree | 5504e89a018af64c0262e011fced23d848aabaca /webapp/components/new_channel_modal.jsx | |
parent | 26e44d9b32948693a035bea5cb31134526e01fe3 (diff) | |
download | chat-b3afe9fb16523415f3bceafde9bb80b4d229e2b2.tar.gz chat-b3afe9fb16523415f3bceafde9bb80b4d229e2b2.tar.bz2 chat-b3afe9fb16523415f3bceafde9bb80b4d229e2b2.zip |
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
Diffstat (limited to 'webapp/components/new_channel_modal.jsx')
-rw-r--r-- | webapp/components/new_channel_modal.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
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 ( <span> |