From daf0490bbf4d382b53d23e2fd0938aa7658bb368 Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Wed, 9 Nov 2016 10:03:06 -0500 Subject: Fix status interval not clearing after logout (#4507) --- webapp/components/needs_team.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webapp/components') diff --git a/webapp/components/needs_team.jsx b/webapp/components/needs_team.jsx index e210fcbee..014d6c93e 100644 --- a/webapp/components/needs_team.jsx +++ b/webapp/components/needs_team.jsx @@ -81,7 +81,6 @@ export default class NeedsTeam extends React.Component { if (tutorialStep <= TutorialSteps.INTRO_SCREENS) { browserHistory.push(TeamStore.getCurrentTeamRelativeUrl() + '/tutorial'); } - stopPeriodicStatusUpdates(); } componentDidMount() { @@ -132,6 +131,7 @@ export default class NeedsTeam extends React.Component { if (UserAgent.isIosSafari()) { iNoBounce.disable(); } + stopPeriodicStatusUpdates(); } render() { -- cgit v1.2.3-1-g7c22