🚀📝 Improved documentation on log functionality with new file 'LOGS_FUNCTIONALITY_FIX.md'
This commit is contained in:
@ -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() {
|
||||
|
Reference in New Issue
Block a user