Number of spots must be at least 1 spot to render/update

pull/2317/head
int2001 2023-07-21 10:24:21 +00:00
rodzic dc7abe462f
commit 1dc278847c
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -130,7 +130,7 @@ $(function() {
dataType: "json"
}).done(function(dxspots) {
spots4chart=[];
if (dxspots.length>1) {
if (dxspots.length>0) {
dxspots.sort(SortByQrg);
dxspots=reduce_spots(dxspots);
dxspots.forEach((single) => {
@ -152,7 +152,7 @@ $(function() {
dataType: "json"
}).done(function(dxspots) {
spots4chart=[];
if (dxspots.length>1) {
if (dxspots.length>0) {
dxspots.sort(SortByQrg);
dxspots=reduce_spots(dxspots);
dxspots.forEach((single) => {