mirror of
https://github.com/smittix/intercept.git
synced 2026-04-24 06:40:00 -07:00
Fix satellite target switching regression
This commit is contained in:
@@ -796,6 +796,9 @@
|
||||
{ description: 'APRS digipeater', downlink_low: 145.825, downlink_high: 145.825, uplink_low: null, uplink_high: null, mode: 'FM AX.25', baud: 1200, status: 'active', type: 'beacon', service: 'Packet' },
|
||||
{ description: 'SSTV events', downlink_low: 145.800, downlink_high: 145.800, uplink_low: null, uplink_high: null, mode: 'FM', baud: null, status: 'active', type: 'image', service: 'SSTV' }
|
||||
],
|
||||
40069: [
|
||||
{ description: 'Meteor LRPT weather downlink', downlink_low: 137.900, downlink_high: 137.900, uplink_low: null, uplink_high: null, mode: 'LRPT', baud: 72000, status: 'active', type: 'image', service: 'Weather' }
|
||||
],
|
||||
57166: [
|
||||
{ description: 'Meteor LRPT weather downlink', downlink_low: 137.900, downlink_high: 137.900, uplink_low: null, uplink_high: null, mode: 'LRPT', baud: 72000, status: 'active', type: 'image', service: 'Weather' }
|
||||
],
|
||||
@@ -1788,7 +1791,6 @@
|
||||
}
|
||||
|
||||
async function calculatePasses() {
|
||||
const requestId = ++_passRequestId;
|
||||
const lat = parseFloat(document.getElementById('obsLat').value);
|
||||
const lon = parseFloat(document.getElementById('obsLon').value);
|
||||
const requestKey = getActivePassRequestKey(selectedSatellite);
|
||||
@@ -1799,6 +1801,8 @@
|
||||
return;
|
||||
}
|
||||
|
||||
const requestId = ++_passRequestId;
|
||||
|
||||
if (container) {
|
||||
container.innerHTML = '<div style="text-align:center;color:var(--text-secondary);padding:20px;">Calculating passes...</div>';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user