Update index.html

pull/27/head
accius 4 days ago
parent 166f7cbfa2
commit 7bd186c5fa

@ -4080,11 +4080,14 @@
spaceWeather, bandConditions, solarIndices, potaSpots, dxCluster, dxPaths, dxpeditions, contests, propagation, mySpots, satellites, spaceWeather, bandConditions, solarIndices, potaSpots, dxCluster, dxPaths, dxpeditions, contests, propagation, mySpots, satellites,
localWeather, use12Hour, onTimeFormatToggle, localWeather, use12Hour, onTimeFormatToggle,
onSettingsClick, onFullscreenToggle, isFullscreen, onSettingsClick, onFullscreenToggle, isFullscreen,
mapLayers, toggleDXPaths, togglePOTA, toggleSatellites, mapLayers, toggleDXPaths, togglePOTA, toggleSatellites, toggleDXLabels,
dxFilters, onFilterChange dxFilters, onFilterChange,
hoveredSpot, onHoverSpot, onOpenDXFilters
}) => { }) => {
// Alias for setDxFilters used in the component // Alias for setDxFilters used in the component
const setDxFilters = onFilterChange; const setDxFilters = onFilterChange;
const setHoveredSpot = onHoverSpot;
const setShowDXFilters = onOpenDXFilters;
const bearing = calculateBearing(config.location.lat, config.location.lon, dxLocation.lat, dxLocation.lon); const bearing = calculateBearing(config.location.lat, config.location.lon, dxLocation.lat, dxLocation.lon);
const distance = calculateDistance(config.location.lat, config.location.lon, dxLocation.lat, dxLocation.lon); const distance = calculateDistance(config.location.lat, config.location.lon, dxLocation.lat, dxLocation.lon);
@ -5211,8 +5214,12 @@
toggleDXPaths={toggleDXPaths} toggleDXPaths={toggleDXPaths}
togglePOTA={togglePOTA} togglePOTA={togglePOTA}
toggleSatellites={toggleSatellites} toggleSatellites={toggleSatellites}
toggleDXLabels={toggleDXLabels}
dxFilters={dxFilters} dxFilters={dxFilters}
onFilterChange={setDxFilters} onFilterChange={setDxFilters}
hoveredSpot={hoveredSpot}
onHoverSpot={setHoveredSpot}
onOpenDXFilters={() => setShowDXFilters(true)}
/> />
<SettingsPanel <SettingsPanel
isOpen={showSettings} isOpen={showSettings}

Loading…
Cancel
Save

Powered by TurnKey Linux.