dbServer stuff

This commit is contained in:
Matthias Wirth
2021-02-14 23:31:01 +01:00
parent 51fed1ffe5
commit b7a60ad249
2 changed files with 2 additions and 2 deletions

View File

@@ -281,7 +281,7 @@ if (uuid != null) {
RefreshInterval = data.refresh;
nHistoryItems = (data.history < 2) ? 0 : data.history;
binCraft = data.binCraft ? true : false;
dbServer = data.dbServer ? true : false;
dbServer = (data.dbServer && data.globeIndexGrid != null) ? true : false;
if (receiverJson.lat != null) {
SiteLat = receiverJson.lat;

View File

@@ -1056,7 +1056,7 @@ function initSourceFilter(colors) {
if (globeIndex)
html += createFilter(colors['unknown'], 'Unknown');
if (globeIndex || dbServer)
if (globeIndex)
html += createFilter(colors['uat'], 'ADS-C');
document.getElementById('sourceFilter').innerHTML = html;