Fix for no data

This commit is contained in:
Szymon Porwolik
2025-11-28 14:28:07 +01:00
parent 9680a1ba88
commit ff03d7a4ef

View File

@@ -904,10 +904,14 @@ $(function() {
var table = get_dtable();
if (!cachedSpotData || cachedSpotData.length === 0) {
disposeTooltips();
table.clear();
table.settings()[0].oLanguage.sEmptyTable = lang_bandmap_no_data;
table.draw();
// Only show "no data" if not currently fetching
// During fetch, keep showing current table contents
if (!isFetchInProgress) {
disposeTooltips();
table.clear();
table.settings()[0].oLanguage.sEmptyTable = lang_bandmap_no_data;
table.draw();
}
return;
}