light-bootstrap-dashboard
light-bootstrap-dashboard copied to clipboard
Question: some links in header dropdown fail - redirect to homepage (in HeaderLinks.jsx)
In the following code (in components/Header/HeaderLinks.jsx):
<NavDropdown eventKey={4} title="WIP" id="basic-nav-dropdown-left">
<MenuItem eventKey={4.1} href="/#/NameReferralForm">Referral</MenuItem>
<MenuItem eventKey={4.2} href="/#/FamilyIntakeForm">Intake</MenuItem>
<MenuItem eventKey={4.3} href="/#/MeetingSummaryTable">MeetingSummary</MenuItem>
<MenuItem eventKey={4.4} href="/#/Notification">Notification</MenuItem>
</NavDropdown>
All links work well on sidebar. But only 4.2 (/#/FamilyIntakeForm
) works well in header.
All other links will end in dashboard main screen.
No errors reported.
Any idea what am I missing?
Just found out the any link that is defined in appRoutes[]
in sidebar will show on header.
How do I get rid of this duplication?
Is there a place to define those links other then appRoutes[]
?
Any idea what am I missing?