fixes + added new sidebars

This commit is contained in:
Shahed Nasser
2025-03-10 08:33:21 +02:00
parent 5deb8eaf50
commit 87b041800a
73 changed files with 1252 additions and 881 deletions
@@ -68,7 +68,7 @@ export const findSidebarItem = ({
}): Sidebar.SidebarItem | undefined => {
let foundItem: Sidebar.SidebarItem | undefined
sidebarItems.some((i) => {
if (areSidebarItemsEqual({ itemA: i, itemB: item })) {
if (areSidebarItemsEqual({ itemA: i, itemB: item, compareTitles })) {
foundItem = i
} else if (checkChildren && "children" in i && i.children) {
foundItem = findSidebarItem({