This commit is contained in:
Alejandro Tasistro 2025-05-21 18:41:10 -03:00
parent 59b6c29508
commit dd30726d10

View file

@ -53,10 +53,10 @@
<script>
import ChismosaDropdown from '../pedidos/ChismosaDropdown.vue';
import {mapActions} from "vuex";
import { mapActions } from "vuex";
export default {
components: {ChismosaDropdown},
components: { ChismosaDropdown },
data() {
return {
burgerActiva: false,
@ -71,8 +71,8 @@ export default {
buscar() {
if (this.burgerActiva)
this.toggleBurger();
this.filtrarProductos({filtro: "nombre", valor: this.searchString});
Event.$emit('migas-agregar', {nombre: this.searchString});
this.filtrarProductos({ filtro: "nombre", valor: this.searchString });
Event.$emit('migas-agregar', { nombre: this.searchString });
}
},