default internal search true

This commit is contained in:
David Ascanio 2026-06-03 19:41:00 -03:00
parent 87f4f04d2c
commit 50215fc657
1 changed files with 2 additions and 2 deletions

View File

@ -592,7 +592,7 @@ function clearLocalQuery() {
const localQuery = ref('')
const debouncedLocalQuery = useDebounce(localQuery, 200)
const showInternalSearch = ref(false)
const showInternalSearch = ref(true)
const internalSearchRef = ref<{ input?: HTMLInputElement } | null>(null)
const metaExpanded = ref(true)
@ -606,7 +606,7 @@ function toggleInternalSearch() {
}
}
watch(() => props.document?.id, () => { metaExpanded.value = true })
watch(() => props.document?.id, () => { metaExpanded.value = true; showInternalSearch.value = true })
watch(debouncedLocalQuery, (q) => {
// Cualquier cambio en el input activa el Estado 2