mirror of
https://github.com/chuot/rdio-scanner.git
synced 2026-08-13 16:33:01 -06:00
Don't reset hold sys/tg on clients when restarting the server
This commit is contained in:
parent
0201019ef8
commit
f2ed09d183
|
|
@ -622,9 +622,6 @@ export class AppRdioScannerService implements OnDestroy {
|
||||||
case WsCommand.Config:
|
case WsCommand.Config:
|
||||||
this.config = message[1];
|
this.config = message[1];
|
||||||
|
|
||||||
this.liveFeedMapPriorToHoldSystem = null;
|
|
||||||
this.liveFeedMapPriorToHoldTalkgroup = null;
|
|
||||||
|
|
||||||
if ('systems' in this.config) {
|
if ('systems' in this.config) {
|
||||||
this.liveFeedRebuild();
|
this.liveFeedRebuild();
|
||||||
}
|
}
|
||||||
|
|
@ -637,8 +634,8 @@ export class AppRdioScannerService implements OnDestroy {
|
||||||
auth: false,
|
auth: false,
|
||||||
config: this.config,
|
config: this.config,
|
||||||
groups: this.groups,
|
groups: this.groups,
|
||||||
holdSys: false,
|
holdSys: !!this.liveFeedMapPriorToHoldSystem,
|
||||||
holdTg: false,
|
holdTg: !!this.liveFeedMapPriorToHoldTalkgroup,
|
||||||
map: this.liveFeedMap,
|
map: this.liveFeedMap,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue