diff --git a/resources/js/store/modules/login.js b/resources/js/store/modules/login.js index abbbe00..0f78351 100644 --- a/resources/js/store/modules/login.js +++ b/resources/js/store/modules/login.js @@ -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();