feat(admin): replace single page name with dynamic breadcrumb navigation in AdminTop
This commit is contained in:
@@ -71,8 +71,8 @@ export function getNavItems() {
|
||||
|
||||
// ---- Pages -----------------------------------------------------------------
|
||||
|
||||
export function registerPage({ slug, Component, title }) {
|
||||
pages.set(slug, { slug, Component, title });
|
||||
export function registerPage({ slug, Component, title, breadcrumbLabel }) {
|
||||
pages.set(slug, { slug, Component, title, breadcrumbLabel });
|
||||
}
|
||||
|
||||
export function getPage(slug) {
|
||||
|
||||
Reference in New Issue
Block a user