only work with header field if sync is available
This commit is contained in:
parent
2be58503c6
commit
6c2ba7bc1d
@ -175,13 +175,14 @@ DStarMetaPanel.prototype.update = function(data) {
|
||||
|
||||
if (data['sync'] && data['sync'] == 'voice') {
|
||||
this.el.find(".openwebrx-meta-slot").addClass("active");
|
||||
}
|
||||
|
||||
this.setOurCall(data['ourcall']);
|
||||
this.setYourCall(data['yourcall']);
|
||||
this.setDeparture(data['departure']);
|
||||
this.setDestination(data['destination']);
|
||||
this.setMessage(data['message']);
|
||||
} else {
|
||||
this.clear();
|
||||
}
|
||||
};
|
||||
|
||||
DStarMetaPanel.prototype.setOurCall = function(ourcall) {
|
||||
|
Loading…
Reference in New Issue
Block a user