diff options
author | Joram Wilander <jwawilander@gmail.com> | 2016-05-02 08:08:20 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2016-05-02 08:08:20 -0400 |
commit | 92be84762bc68ca9b5592ec33f125367e9775c2f (patch) | |
tree | a074829401fc92db462e19def2dfc8bb1e90c0d9 /webapp/components | |
parent | 553e2320ec14eb8a1b11958a1eb7a6b39edaf29f (diff) | |
download | chat-92be84762bc68ca9b5592ec33f125367e9775c2f.tar.gz chat-92be84762bc68ca9b5592ec33f125367e9775c2f.tar.bz2 chat-92be84762bc68ca9b5592ec33f125367e9775c2f.zip |
Use relative team URL for deleting channels (#2828)
Diffstat (limited to 'webapp/components')
-rw-r--r-- | webapp/components/delete_channel_modal.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/delete_channel_modal.jsx b/webapp/components/delete_channel_modal.jsx index 222b72c41..b2870cd50 100644 --- a/webapp/components/delete_channel_modal.jsx +++ b/webapp/components/delete_channel_modal.jsx @@ -25,7 +25,7 @@ export default class DeleteChannelModal extends React.Component { return; } - browserHistory.push(TeamStore.getCurrentTeamUrl() + '/channels/town-square'); + browserHistory.push(TeamStore.getCurrentTeamRelativeUrl() + '/channels/town-square'); Client.deleteChannel( this.props.channel.id, () => { |