🚀📝 Improved documentation on log functionality with new file 'LOGS_FUNCTIONALITY_FIX.md'

This commit is contained in:
2025-06-01 15:22:00 +02:00
parent 9e980cc01a
commit 7b37d54e59
25 changed files with 959 additions and 2 deletions

View File

@ -263,6 +263,17 @@ class AdminDashboard {
if (window.location.search.includes('tab=logs') || document.querySelector('.tabs [href*="logs"]')?.classList.contains('active')) {
await this.loadLogs();
}
// Prüfe auch ob der Logs-Tab durch die URL-Parameter aktiv ist
const urlParams = new URLSearchParams(window.location.search);
const activeTab = urlParams.get('tab');
if (activeTab === 'logs') {
await this.loadLogs();
}
// Oder prüfe ob das Logs-Container-Element sichtbar ist
const logsContainer = document.getElementById('logs-container');
if (logsContainer && logsContainer.offsetParent !== null) {
await this.loadLogs();
}
}
async loadLiveStats() {