From 92be84762bc68ca9b5592ec33f125367e9775c2f Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Mon, 2 May 2016 08:08:20 -0400 Subject: [PATCH] Use relative team URL for deleting channels (#2828) --- webapp/components/delete_channel_modal.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/components/delete_channel_modal.jsx b/webapp/components/delete_channel_modal.jsx index 222b72c411..b2870cd508 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, () => {