From b8a05b0d0580b412566ac504b824ad0e7bab2a37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mar=C3=ADa?= Date: Thu, 28 Aug 2025 14:26:40 +0200 Subject: [PATCH] comment logs --- pages/busqueda.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pages/busqueda.vue b/pages/busqueda.vue index 1b45ad7..40193f6 100644 --- a/pages/busqueda.vue +++ b/pages/busqueda.vue @@ -146,9 +146,9 @@ export default { watch: { '$route.query'(newValue) { - console.log('New Value:', newValue) - console.log('Route changed:', this.$route.fullPath) - console.log('Current params:', this.$route.query) + //console.log('New Value:', newValue) + //console.log('Route changed:', this.$route.fullPath) + //console.log('Current params:', this.$route.query) this.updateData(newValue) Object.assign(this.$data, this.$options.data()) @@ -259,10 +259,11 @@ export default { }, async updateData(value) { - console.log('updateData called with:', value) + //console.log('updateData called with:', value) const filters = { q: this.appliedFilters.q } const query = Object.keys(value).length === 0 ? { ...filters } : { ...value, ...filters } + //console.log('Navigating to busqueda with query:', query) this.$router.push({ name: 'busqueda', query }) const config = useRuntimeConfig()