Show n/a for not known registration
This commit is contained in:
parent
4fbb336fa3
commit
bf05a94f3e
|
@ -910,7 +910,7 @@ function refreshSelected() {
|
||||||
if (selected.registration !== null) {
|
if (selected.registration !== null) {
|
||||||
$('#selected_registration').text(selected.registration);
|
$('#selected_registration').text(selected.registration);
|
||||||
} else {
|
} else {
|
||||||
$('#selected_registration').text("");
|
$('#selected_registration').text("n/a");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (selected.icaotype !== null) {
|
if (selected.icaotype !== null) {
|
||||||
|
@ -1178,7 +1178,7 @@ function refreshHighlighted() {
|
||||||
if (highlighted.registration !== null) {
|
if (highlighted.registration !== null) {
|
||||||
$('#highlighted_registration').text(highlighted.registration);
|
$('#highlighted_registration').text(highlighted.registration);
|
||||||
} else {
|
} else {
|
||||||
$('#highlighted_registration').text("");
|
$('#highlighted_registration').text("n/a");
|
||||||
}
|
}
|
||||||
|
|
||||||
$('#highlighted_speed').text(format_speed_long(highlighted.speed, DisplayUnits));
|
$('#highlighted_speed').text(format_speed_long(highlighted.speed, DisplayUnits));
|
||||||
|
|
Loading…
Reference in a new issue