Duplicated menu when using hierarchy
See original GitHub issueBug Report
When adding sub-menu items, I’m facing an item both inside it’s parent and in the root level:
Here is the document configuration:
---
name: Composition
route: /concepts/composition
menu: Concepts
---
And here is the menus config:
// doczrc.js
module.exports = {
menu: [
'Introduction',
'Getting Started',
{ name: 'Development', menu: ['Structure', 'Environment & Commands'] },
{ name: 'Concepts', menu: ['Composition'] },
{ name: 'Reference', menu: ['Routing', 'Layouts & Blocks', 'Menus'] }
]
}
Expected behavior
Once I configure an item to be shown under a parent, it should not be shown in the root level.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:4
- Comments:18 (3 by maintainers)
Top Results From Across the Web
Sorting duplicated names in a level of a hierarchy with DAX
This article describes how to use DAX calculated columns to sort names that look like duplicates at a certain level of a hierarchy,...
Read more >How to remove duplicate member within hierarchy and ...
Hello Gurus, I have below table create table tab1 ( id varchar2(10), parent_id varchar2(10) ); with below data.
Read more >Topic: Import of site creates menus with duplicate menu items
In creating an import and then exporting to a brand new mirror site, I have found that all of the menus created on...
Read more >SQL Server Tree Hierarchy and Nested Sets with Duplicate ...
How can this be altered to allow records with duplicate Ids to be given [LeftExtent] and [RightExtent] values, or I am completely missing...
Read more >How to Solve Duplicate Data Issues in Mondrian Hierarchy
The reason for the duplicate data is an improper ordering of levels in a hierarchy. Consider the below cube which gives information about...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Is there an example of a working implementation of docz v1.2.0 with a custom menu using the above structure? I am getting duplicate entries and the one in the sub-menu is not clickable and does not function, yet the auto-generated duplicate appears to work.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.