diff options
Diffstat (limited to 'webapp/components/quick_switch_modal/index.js')
-rw-r--r-- | webapp/components/quick_switch_modal/index.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/webapp/components/quick_switch_modal/index.js b/webapp/components/quick_switch_modal/index.js index 7826fd8f5..ad5d1dd7c 100644 --- a/webapp/components/quick_switch_modal/index.js +++ b/webapp/components/quick_switch_modal/index.js @@ -2,14 +2,13 @@ // See License.txt for license information. import {connect} from 'react-redux'; -import {getMyTeams} from 'mattermost-redux/selectors/entities/teams'; import QuickSwitchModal from './quick_switch_modal.jsx'; function mapStateToProps(state, ownProps) { return { ...ownProps, - showTeamSwitcher: getMyTeams(state).length > 1 + showTeamSwitcher: false }; } |