funcion/pedido-ollas #47
1 changed files with 3 additions and 0 deletions
3
resources/js/store/modules/admin.js
vendored
3
resources/js/store/modules/admin.js
vendored
|
@ -61,6 +61,9 @@ const getters = {
|
||||||
grupoDeCompraDefinido() {
|
grupoDeCompraDefinido() {
|
||||||
return state.lastFetch !== null;
|
return state.lastFetch !== null;
|
||||||
},
|
},
|
||||||
|
barrio() {
|
||||||
|
return state.nombre?.replace('_admin','') ?? '';
|
||||||
|
},
|
||||||
hayPedidos() {
|
hayPedidos() {
|
||||||
return state.pedidos?.length > 0;
|
return state.pedidos?.length > 0;
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue