mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-21 05:59:27 +00:00
all the parents of an active child are also active
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user