mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-22 23:23:54 +08:00
fix(specs): Don’t run update channel check in specs
This commit is contained in:
parent
d28c3acd6a
commit
211814aa7b
1 changed files with 4 additions and 1 deletions
|
@ -10,7 +10,10 @@ class UpdateChannelStore extends NylasStore {
|
||||||
super();
|
super();
|
||||||
this._current = {name: 'Loading...'};
|
this._current = {name: 'Loading...'};
|
||||||
this._available = [{name: 'Loading...'}];
|
this._available = [{name: 'Loading...'}];
|
||||||
this.refreshChannel();
|
|
||||||
|
if (NylasEnv.isMainWindow()) {
|
||||||
|
this.refreshChannel();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
current() {
|
current() {
|
||||||
|
|
Loading…
Reference in a new issue