Skip to content

Commit

Permalink
async bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
telamonian committed Jul 21, 2019
1 parent 43bee47 commit da38e27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/statusbar/src/defaults/kernelStatus.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -185,13 +185,13 @@ export namespace KernelStatus {
// sync setting of status and display name
this._kernelStatus = newValue.status;
this._kernelName = spec.display_name;
this._triggerChange(oldState, this._getAllState());
});
} else {
this._kernelStatus = 'unknown';
this._kernelName = 'unknown';
this._triggerChange(oldState, this._getAllState());
}

this._triggerChange(oldState, this._getAllState());
};

private _getAllState(): [string, string, string] {
Expand Down

0 comments on commit da38e27

Please sign in to comment.