Cambio por null check
This commit is contained in:
parent
258bccf59b
commit
2ee7fca584
1 changed files with 1 additions and 1 deletions
2
resources/js/store/modules/login.js
vendored
2
resources/js/store/modules/login.js
vendored
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue