diff --git a/client/src/app/components/rdio-scanner/rdio-scanner.service.ts b/client/src/app/components/rdio-scanner/rdio-scanner.service.ts index b377ec4..b84038c 100644 --- a/client/src/app/components/rdio-scanner/rdio-scanner.service.ts +++ b/client/src/app/components/rdio-scanner/rdio-scanner.service.ts @@ -357,7 +357,9 @@ export class AppRdioScannerService implements OnDestroy { if (call?.audio && this.liveFeedMap && this.liveFeedMap[sys] && this.liveFeedMap[sys][tg]) { this.callQueue.push(call); - this.event.emit({ queue: this.callQueue.length }); + if (this.call) { + this.event.emit({ queue: this.callQueue.length }); + } this.play(); }