summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--webapp/components/admin_console/user_item.jsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/webapp/components/admin_console/user_item.jsx b/webapp/components/admin_console/user_item.jsx
index b4e74057f..974ef8bc9 100644
--- a/webapp/components/admin_console/user_item.jsx
+++ b/webapp/components/admin_console/user_item.jsx
@@ -11,7 +11,6 @@ import TeamStore from 'stores/team_store.jsx';
import {FormattedMessage, FormattedHTMLMessage} from 'react-intl';
import React from 'react';
-import {browserHistory} from 'react-router/es6';
export default class UserItem extends React.Component {
constructor(props) {
@@ -183,9 +182,10 @@ export default class UserItem extends React.Component {
const teamUrl = TeamStore.getCurrentTeamUrl();
if (teamUrl) {
- browserHistory.push(teamUrl);
+ // the channel is added to the URL cause endless loading not being fully fixed
+ window.location.href = teamUrl + '/channels/town-square';
} else {
- browserHistory.push('/');
+ window.location.href = '/';
}
},
(err) => {