Don't reset hold sys/tg on clients when restarting the server

This commit is contained in:
Chrystian Huot 2020-05-26 09:59:55 -04:00
parent 0201019ef8
commit f2ed09d183

View file

@ -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,
}); });