File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ daemon.agentFound.subscribe(status => {
20
20
// true / false
21
21
});
22
22
23
- daemon .channelOpen .subscribe (status => {
23
+ daemon .channelOpenStatus .subscribe (status => {
24
24
// true / false
25
25
});
26
26
Original file line number Diff line number Diff line change @@ -37,7 +37,8 @@ export default class Daemon {
37
37
38
38
this . agentInfo = { } ;
39
39
this . agentFound = new BehaviorSubject ( null ) ;
40
- this . channelOpen = new BehaviorSubject ( null ) . pipe ( distinctUntilChanged ( ) ) ;
40
+ this . channelOpen = new BehaviorSubject ( null ) ;
41
+ this . channelOpenStatus = this . channelOpen . pipe ( distinctUntilChanged ( ) ) ;
41
42
this . error = new BehaviorSubject ( null ) . pipe ( distinctUntilChanged ( ) ) ;
42
43
43
44
this . appMessages = new Subject ( ) ;
You can’t perform that action at this time.
0 commit comments