fixup! Add search for mobile view

This commit is contained in:
2026-02-11 18:20:59 +01:00
parent 413d0fd6ab
commit 60d9a51069

View File

@@ -14,8 +14,12 @@
const emit = defineEmits('searchDone') const emit = defineEmits('searchDone')
const vMobileFocus = { const vMobileFocus = {
mounted: (el, binding) => el.focus(); mounted: (el, binding) => {
if (binding.value) {
el.focus()
} }
}
};
function onSearchClick() { function onSearchClick() {
if (typeof searchterm.value === "undefined" || searchterm.value === "") { if (typeof searchterm.value === "undefined" || searchterm.value === "") {