diff options
Diffstat (limited to 'webapp')
-rw-r--r-- | webapp/components/sidebar.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webapp/components/sidebar.jsx b/webapp/components/sidebar.jsx index bf51fa102..45bca7212 100644 --- a/webapp/components/sidebar.jsx +++ b/webapp/components/sidebar.jsx @@ -440,9 +440,9 @@ export default class Sidebar extends React.Component { let link = ''; if (channel.fake) { - link = TeamStore.getCurrentTeamUrl() + '/channels/' + channel.name + '?fakechannel=' + encodeURIComponent(JSON.stringify(channel)); + link = '/' + this.state.currentTeam.name + '/channels/' + channel.name + '?fakechannel=' + encodeURIComponent(JSON.stringify(channel)); } else { - link = TeamStore.getCurrentTeamUrl() + '/channels/' + channel.name; + link = '/' + this.state.currentTeam.name + '/channels/' + channel.name; } return ( |