funcion/pedido-ollas #47

Merged
rho merged 92 commits from funcion/pedido-ollas into master 2025-07-15 11:27:30 -03:00
Showing only changes of commit 0397810260 - Show all commits

View file

@ -2,6 +2,7 @@ const state = {
show_chismosa: false,
show_devoluciones: false,
show_tags: true,
burger_activa: false,
tags_interactuada: false,
migas: [{ nombre: 'Pedidos', action: 'pedido/resetear' }],
canasta_actual: null,
@ -18,10 +19,12 @@ const mutations = {
state.show_devoluciones = !state.show_devoluciones;
},
toggleTags(state, manual) {
if (manual)
state.tags_interactuada = true;
state.tags_interactuada = manual;
state.show_tags = !state.show_tags;
},
toggleBurger(state) {
state.burger_activa = !state.burger_activa;
},
addMiga(state, miga) {
state.migas.push(miga);
},