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', '')
|
.replace('login', '')
|
||||||
.split('/')
|
.split('/')
|
||||||
.filter(x => x.length);
|
.filter(x => x.length);
|
||||||
return split.length ? split[0] : 'pedido';
|
return split[0] ?? 'pedido';
|
||||||
},
|
},
|
||||||
titulos() {
|
titulos() {
|
||||||
let rol = getters.urlRol();
|
let rol = getters.urlRol();
|
||||||
|
|
Loading…
Add table
Reference in a new issue