diff --git a/server/routes/dxcluster.js b/server/routes/dxcluster.js index 21c1554a..89509128 100644 --- a/server/routes/dxcluster.js +++ b/server/routes/dxcluster.js @@ -1391,7 +1391,7 @@ module.exports = function (app, ctx) { udpSession.lastAccess = now; newSpots = (udpSession.spots || []).slice(0, 100).map((s) => ({ spotter: s.spotter, - spotterGrid: s.spotterGrid || null, + spotterGrid: s.spotterGrid || CONFIG.gridSquare || null, dxCall: s.dxCall, dxGrid: s.dxGrid || null, freq: s.freq, diff --git a/src/components/SettingsPanel.jsx b/src/components/SettingsPanel.jsx index 8379bcdf..ba028b75 100644 --- a/src/components/SettingsPanel.jsx +++ b/src/components/SettingsPanel.jsx @@ -533,6 +533,9 @@ export const SettingsPanel = ({ return t == 'imperial' ? 'US Customary' : 'Metric'; }; + // Set a sane default if we are not a local installation and we have 'udp' set as the dxClusterSource. + if (!isLocalInstall && dxClusterSource === 'udp') setDxClusterSource('auto'); + return (
{t('station.settings.dx.option3')} - + {isLocalInstall && ( + + )}
{t('station.settings.dx.describe')}