mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Fix for no data
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user