mirror of
https://github.com/chuot/rdio-scanner.git
synced 2026-08-16 01:43:01 -06:00
Fixed an unnecessary call to _writeAvoids()
This commit is contained in:
parent
8f0c5e6727
commit
2489a5a490
|
|
@ -104,7 +104,6 @@ export class AppRadioService implements OnDestroy {
|
||||||
const tg = call.talkgroup;
|
const tg = call.talkgroup;
|
||||||
this._avoids[sys][tg] = typeof parms.status === 'boolean' ? parms.status : !this._avoids[sys][tg];
|
this._avoids[sys][tg] = typeof parms.status === 'boolean' ? parms.status : !this._avoids[sys][tg];
|
||||||
this._emitAvoidEvent(sys, tg);
|
this._emitAvoidEvent(sys, tg);
|
||||||
this._writeAvoids();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue