mirror of
https://github.com/chuot/rdio-scanner.git
synced 2026-08-13 16:33:01 -06:00
Display filename instead of frequency when no frequency value available
This commit is contained in:
parent
4b8e860b04
commit
225ac72631
|
|
@ -877,7 +877,9 @@ export class AppRdioScannerComponent implements AfterViewInit, OnDestroy {
|
|||
} else {
|
||||
this.callError = '';
|
||||
|
||||
this.callFrequency = typeof this.call.frequency === 'number' ? this.formatFrequency(this.call.frequency) : '';
|
||||
this.callFrequency = typeof this.call.frequency === 'number'
|
||||
? this.formatFrequency(this.call.frequency)
|
||||
: this.call.audioName?.replace(/\..+$/, '') || '';
|
||||
|
||||
this.callSpike = '';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue