Getter de barrio

This commit is contained in:
Alejandro Tasistro 2025-06-20 01:05:15 -03:00
parent cdbe38e41b
commit 5a9d7cb54b

View file

@ -61,6 +61,9 @@ const getters = {
grupoDeCompraDefinido() {
return state.lastFetch !== null;
},
barrio() {
return state.nombre?.replace('_admin','') ?? '';
},
hayPedidos() {
return state.pedidos?.length > 0;
},