From 051efb957f2e89b2619d67ee5c26d1260512b10f Mon Sep 17 00:00:00 2001 From: janis steiner Date: Sat, 16 May 2026 12:40:39 +0200 Subject: [PATCH] fixing error in log search --- public/index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/index.html b/public/index.html index d9f4216..2e05039 100644 --- a/public/index.html +++ b/public/index.html @@ -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; }