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:
1 parent
b182bbb9a9
commit
f6b20a943e
2 files changed
+6
-1
No files matched your search
@@ -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 || []),
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in new issue
Block a user