diff options
-rw-r--r-- | webapp/root.jsx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/webapp/root.jsx b/webapp/root.jsx index e90d3fdc5..3f1edda38 100644 --- a/webapp/root.jsx +++ b/webapp/root.jsx @@ -208,7 +208,11 @@ function doChannelChange(state, replace, callback) { callback(); }, () => { - replace('/'); + if (state.params.team) { + replace('/' + state.params.team + '/channels/town-square'); + } else { + replace('/'); + } callback(); } ); |