fix(dashboard): properly register settings custom routes (#12198)

**What**
- custom setting routes were registered under `/settings/settings/custom-route` instead of `/settings/custom-route`

---

CLOSES SUP-1384

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
This commit is contained in:
Frane PolićandOli Juhl authored and GitHub committed 2025-04-16 18:11:36 +00:00
1 parent b182bbb9a9
commit f6b20a943e
2 files changed
+6 -1

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
---
"@medusajs/dashboard": patch
---
fix(dashboard): properly register settings custom routes
@@ -1714,7 +1714,7 @@ export function getRouteMap({
}, },
], ],
}, },
...settingsRoutes, ...(settingsRoutes?.[0]?.children || []),
], ],
}, },
], ],