feat(admin): add position parameter to registerNavItem
This commit is contained in:
@@ -57,8 +57,8 @@ export function registerNavSection({ id, title, icon, order = 0 }) {
|
|||||||
navSections.set(id, { id, title, icon, order });
|
navSections.set(id, { id, title, icon, order });
|
||||||
}
|
}
|
||||||
|
|
||||||
export function registerNavItem({ id, label, icon, href, order = 0, sectionId = 'main' }) {
|
export function registerNavItem({ id, label, icon, href, order = 0, sectionId = 'main', position }) {
|
||||||
navItems.set(id, { id, label, icon, href, order, sectionId });
|
navItems.set(id, { id, label, icon, href, order, sectionId, position });
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getNavSections() {
|
export function getNavSections() {
|
||||||
|
|||||||
Reference in New Issue
Block a user