Skip to content

Make DashboardNavbarItems take a slug for a React <Link/> #1435

Open
@adrw

Description

@adrw

Currently it can take string which is rendered as HTML allowing for manually writing <a href=""></a> but that doesn't take advantage of the soft loading from React Router. If we add a to field to the DashboardNavbarItem, if present we can use React Router linking instead.

Will require respective updates in Misk-Web for the MiskNavbarContainer.

Metadata

Metadata

Assignees

Labels

frontendTypescript, React, Webpack and everything Admin dashboard

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions