summaryrefslogtreecommitdiffstats
path: root/webapp
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2016-05-02 08:08:20 -0400
committerChristopher Speller <crspeller@gmail.com>2016-05-02 08:08:20 -0400
commit92be84762bc68ca9b5592ec33f125367e9775c2f (patch)
treea074829401fc92db462e19def2dfc8bb1e90c0d9 /webapp
parent553e2320ec14eb8a1b11958a1eb7a6b39edaf29f (diff)
downloadchat-92be84762bc68ca9b5592ec33f125367e9775c2f.tar.gz
chat-92be84762bc68ca9b5592ec33f125367e9775c2f.tar.bz2
chat-92be84762bc68ca9b5592ec33f125367e9775c2f.zip
Use relative team URL for deleting channels (#2828)
Diffstat (limited to 'webapp')
-rw-r--r--webapp/components/delete_channel_modal.jsx2
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,
() => {