From 951d5bb2c7da91fce804200b602fe827fd0e929f Mon Sep 17 00:00:00 2001 From: SimonGschnell Date: Wed, 25 Sep 2024 10:46:09 +0200 Subject: [PATCH] all the parents of an active child are also active --- public/js/components/Cis/Menu/Entry.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/public/js/components/Cis/Menu/Entry.js b/public/js/components/Cis/Menu/Entry.js index 9e38e86df..76bb2a916 100755 --- a/public/js/components/Cis/Menu/Entry.js +++ b/public/js/components/Cis/Menu/Entry.js @@ -46,7 +46,10 @@ export default { computed: { active: function () { - if (this.activeContent) { + if (this.entry.menu_open){ + return true; + } + else if (this.activeContent) { return this.activeContent == this.entry.content_id; } else { return false;