PLG: Add 'No Data' message for empty plugin tabs and enhance event data loading checks #1607

This commit is contained in:
Jokob @NetAlertX
2026-04-12 22:28:53 +00:00
parent 309315defc
commit b0c687a171
25 changed files with 55 additions and 15 deletions

View File

@@ -513,6 +513,12 @@ function generateTabs() {
}
});
if (visiblePlugins.length === 0) {
$('#tabs-content-location').html(`<p class="text-muted" style="padding: 15px;">${getString('Gen_No_Data')}</p>`);
hideSpinner();
return;
}
// Auto-select tab from ?tab= URL param or cache (scoped to plugin nav only)
initializeTabsShared({
cacheKey: 'activePluginsTab',