eventlog: fix date range and empty string search

This commit is contained in:
Girish Ramakrishnan
2026-02-17 13:49:10 +01:00
parent 2df8e77733
commit 8d4b458a22
+3 -3
View File
@@ -141,7 +141,7 @@ function goToPrevMatch() {
}
async function goToNextMatch() {
if (searching.value) return;
if (!highlight.value || searching.value) return;
if (currentMatchPosition.value + 1 < matchIndices.value.length) {
currentMatchPosition.value++;
@@ -282,11 +282,11 @@ onUnmounted(() => {
<div style="padding: 15px; display: flex; flex-direction: column; gap: 10px;">
<FormGroup>
<label>From</label>
<DateTimeInput date-only v-model="filterFrom" />
<DateTimeInput date-only v-model="filterFrom" :max="filterTo" />
</FormGroup>
<FormGroup>
<label>To</label>
<DateTimeInput date-only v-model="filterTo" />
<DateTimeInput date-only v-model="filterTo" :min="filterFrom" />
</FormGroup>
</div>
</Popover>