mirror of
https://github.com/chuot/rdio-scanner.git
synced 2026-08-15 09:23:02 -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 {
|
} else {
|
||||||
this.callError = '';
|
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 = '';
|
this.callSpike = '';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue