Skip to content

Commit

Permalink
Merge e0cf174 into 247ac8d
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaoelitiana committed Feb 14, 2017
2 parents 247ac8d + e0cf174 commit 4e3fe66
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions webapp/components/sidebar.jsx
Expand Up @@ -186,6 +186,9 @@ export default class Sidebar extends React.Component {
}

onChange() {
if (this.state.currentTeam.id !== TeamStore.getCurrentId()) {
ChannelStore.clear();
}
this.setState(this.getStateFromStores());
this.updateTitle();
}
Expand Down

0 comments on commit 4e3fe66

Please sign in to comment.