1
0
Fork 0
mirror of https://github.com/em-squared/5e-drs.git synced 2025-10-29 20:54:19 +00:00

correction de l'initialisation du menu

This commit is contained in:
Maxime Moraine 2020-04-09 10:20:08 +02:00
parent c34341f375
commit 1330db17af

View file

@ -85,7 +85,7 @@ export default {
}
if (item.children[i].children) {
for (var j = 0; j < item.children[i].children.length; j++) {
if (item.children[i].path) {
if (item.children[i].children[j].path) {
if (item.children[i].children[j].path == this.$route.path) {
return true
}
@ -94,6 +94,7 @@ export default {
}
}
}
console.log(item.title)
return false
}
}