mirror of
https://github.com/chuot/rdio-scanner.git
synced 2026-08-13 16:33:01 -06:00
Attempt to fix the call history being emptied
This commit is contained in:
parent
4cd3a2d1d8
commit
c7f7f2c495
|
|
@ -659,8 +659,9 @@ export class AppRdioScannerComponent implements OnDestroy, OnInit {
|
|||
}
|
||||
|
||||
if (
|
||||
this.call?.id !== this.callPrevious?.id &&
|
||||
!this.callHistory.find((call: RdioScannerCall) => call?.id === this.callPrevious?.id)
|
||||
this.callPrevious &&
|
||||
this.callPrevious.id !== this.call.id &&
|
||||
!this.callHistory.find((call: RdioScannerCall) => call?.id === this.callPrevious.id)
|
||||
) {
|
||||
this.callHistory.pop();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue