Skip to content

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

Description

@Mulli

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions