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ć
2025-04-16 20:11:36 +02:00
committed by GitHub
parent b182bbb9a9
commit f6b20a943e
2 changed files with 6 additions and 1 deletions
+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 || []),
],
},
],