From 211814aa7ba97522aabca7434afa283bfc972d24 Mon Sep 17 00:00:00 2001 From: Ben Gotow Date: Thu, 20 Oct 2016 10:24:53 -0700 Subject: [PATCH] =?UTF-8?q?fix(specs):=20Don=E2=80=99t=20run=20update=20ch?= =?UTF-8?q?annel=20check=20in=20specs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/flux/stores/update-channel-store.es6 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/flux/stores/update-channel-store.es6 b/src/flux/stores/update-channel-store.es6 index dc3e7b584..b4bf32ae4 100644 --- a/src/flux/stores/update-channel-store.es6 +++ b/src/flux/stores/update-channel-store.es6 @@ -10,7 +10,10 @@ class UpdateChannelStore extends NylasStore { super(); this._current = {name: 'Loading...'}; this._available = [{name: 'Loading...'}]; - this.refreshChannel(); + + if (NylasEnv.isMainWindow()) { + this.refreshChannel(); + } } current() {