Fixed an unnecessary call to _writeAvoids()

This commit is contained in:
Chrystian Huot 2019-07-12 11:20:21 -04:00
parent 8f0c5e6727
commit 2489a5a490

View file

@ -104,7 +104,6 @@ export class AppRadioService implements OnDestroy {
const tg = call.talkgroup;
this._avoids[sys][tg] = typeof parms.status === 'boolean' ? parms.status : !this._avoids[sys][tg];
this._emitAvoidEvent(sys, tg);
this._writeAvoids();
}
}