fixing error in log search
Deploy / deploy (push) Successful in 10s

This commit is contained in:
2026-05-16 12:40:39 +02:00
parent 78eb0e8430
commit 051efb957f
+3
View File
@@ -1259,6 +1259,9 @@ async function showLogContext(id) {
} catch (e) { toast('Failed to load context', 'danger'); }
}
document.getElementById('logSearchBtn').addEventListener('click', () => loadLogs());
document.getElementById('logSearchInput').addEventListener('keydown', e => { if (e.key === 'Enter') loadLogs(); });
async function exportLogs() {
const query = document.getElementById('logSearchInput').value.trim();
if (!query) { toast('Search something first', 'warning'); return; }