try fix event

This commit is contained in:
isUnknown 2024-09-24 08:59:17 +02:00
parent 3809d96504
commit ece995352f
5 changed files with 14 additions and 15 deletions

View file

@ -25,11 +25,7 @@
x-text="title"
:class="tab === title ? 'strong' : ''"
@click="
if (tab === title) {
tab = 'Programme'
} else {
tab = title
}
tab = title
const url = new URL(window.location.href);
url.searchParams.set('tab', tab);
@ -47,11 +43,7 @@
x-text="title"
:class="tab === filterTitle ? 'strong' : ''"
@click="
if (tab === filterTitle) {
tab = 'Programme'
} else {
tab = filterTitle; filter = title
}
tab = filterTitle; filter = title
const url = new URL(window.location.href);
url.searchParams.set('tab', tab);