Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: some links in header dropdown fail - redirect to homepage (in HeaderLinks.jsx) #43

Open
Mulli opened this issue Nov 12, 2018 · 0 comments

Comments

@Mulli
Copy link

Mulli commented Nov 12, 2018

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant