From eafc8028314805ded314648e02078cf596760197 Mon Sep 17 00:00:00 2001
From: Corey Hulen <corey@hulen.com>
Date: Wed, 17 Aug 2016 07:17:44 -0800
Subject: PLT-3881 Fix websocket errors after leaving the team (#3815)

---
 webapp/stores/team_store.jsx | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'webapp/stores/team_store.jsx')

diff --git a/webapp/stores/team_store.jsx b/webapp/stores/team_store.jsx
index 90cb66bb2..e59f0ca43 100644
--- a/webapp/stores/team_store.jsx
+++ b/webapp/stores/team_store.jsx
@@ -63,6 +63,10 @@ class TeamStoreClass extends EventEmitter {
         return this.currentTeamId;
     }
 
+    setCurrentId(id) {
+        this.currentTeamId = id;
+    }
+
     getCurrent() {
         const team = this.teams[this.currentTeamId];
 
-- 
cgit v1.2.3-1-g7c22

