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 => {
2020 // true / false
2121});
2222
23- daemon .channelOpen .subscribe (status => {
23+ daemon .channelOpenStatus .subscribe (status => {
2424 // true / false
2525});
2626
Original file line number Diff line number Diff line change @@ -37,7 +37,8 @@ export default class Daemon {
3737
3838 this . agentInfo = { } ;
3939 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 ( ) ) ;
4142 this . error = new BehaviorSubject ( null ) . pipe ( distinctUntilChanged ( ) ) ;
4243
4344 this . appMessages = new Subject ( ) ;
You can’t perform that action at this time.
0 commit comments