This commit is contained in:
Andres2908 2022-07-22 20:19:44 -05:00
parent 2908989582
commit 3c362849d6

View File

@ -110,7 +110,7 @@ const funcionesGlobales = {
activo(ruta) {
const location = window.location.pathname
if (location[location.length - 1]) location.slice(0, -1)
if (location[location.length - 1] === '/') location.slice(0, -1)
return ruta === location
},
icono(ruta) {