Cambio por null check

This commit is contained in:
Alejandro Tasistro 2025-06-10 18:06:43 -03:00
parent 258bccf59b
commit 2ee7fca584

View file

@ -54,7 +54,7 @@ const getters = {
.replace('login', '')
.split('/')
.filter(x => x.length);
return split.length ? split[0] : 'pedido';
return split[0] ?? 'pedido';
},
titulos() {
let rol = getters.urlRol();