Remove stations when they are sent via TACTICAL with an empty tactical
instead of just adding them with no tactical
This commit is contained in:
parent
6288493fea
commit
25fd458935
@ -98,7 +98,11 @@ export default {
|
||||
) {
|
||||
message.data.text.split(";").map(tac_assoc => {
|
||||
let [call, tac] = tac_assoc.split("=", 2);
|
||||
if (tac) {
|
||||
this.trackedStations[call] = tac;
|
||||
} else {
|
||||
delete this.trackedStations[call];
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user