Esperando a que pedido esté definido

This commit is contained in:
Alejandro Tasistro 2025-05-21 22:33:02 -03:00
parent 5a0cf73218
commit 8fbfa75144

View file

@ -21,9 +21,11 @@ export default {
}, },
methods: { methods: {
...mapActions('productos',["init"]), ...mapActions('productos',["init"]),
...mapActions('pedido',["getPedido"]),
}, },
async mounted() { async mounted() {
await this.init(); await this.init();
await this.getPedido();
Event.$on('toggle-chismosa', (activa) => { Event.$on('toggle-chismosa', (activa) => {
this.chismosaActiva = activa; this.chismosaActiva = activa;
}); });