diff --git a/public/js/components/Cis/Menu.js b/public/js/components/Cis/Menu.js index f44819011..92e189af3 100755 --- a/public/js/components/Cis/Menu.js +++ b/public/js/components/Cis/Menu.js @@ -21,9 +21,17 @@ export default { entries: [], activeEntry:null, url:null, + highestMatchingUrlCount:0, }; }, methods:{ + checkHighestMatchingUrlCount(count){ + if(count > this.highestMatchingUrlCount) + { + this.highestMatchingUrlCount = count; + } + }, + setActiveEntry(content_id){ this.activeEntry = content_id; } @@ -34,6 +42,7 @@ export default { template: /*html*/`