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 68a4c85..d1d10bd 100644 --- a/client/src/app/components/rdio-scanner/rdio-scanner.service.ts +++ b/client/src/app/components/rdio-scanner/rdio-scanner.service.ts @@ -177,7 +177,7 @@ export class AppRdioScannerService implements OnDestroy { const gn = context.createGain(); - const seq = this.config.keypadBeeps[style]; + const seq = this.config?.keypadBeeps[style] || []; gn.gain.value = .1;