From 92be84762bc68ca9b5592ec33f125367e9775c2f Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Mon, 2 May 2016 08:08:20 -0400 Subject: Use relative team URL for deleting channels (#2828) --- webapp/components/delete_channel_modal.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webapp') 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, () => { -- cgit v1.2.3-1-g7c22