Skip to content

Commit

Permalink
Merge branch 'main' of github.com:Protofy-xyz/Protofy
Browse files Browse the repository at this point in the history
  • Loading branch information
jcarlosn committed Nov 18, 2024
2 parents 5736049 + 4adad80 commit 0cb7090
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/app/workspaces/admin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,7 @@ export default ({ pages }) => {
"menu": {
...(adminPages.length ? {
"CMS": adminPages.map((page) => {
const parts = page.route.split('/')
return { "name": page.object.charAt(0).toUpperCase() + page.object.slice(1), "icon": Box, "type": page.route, path: '/', external: true }
return { "name": page.name.charAt(0).toUpperCase() + page.name.slice(1), "icon": Box, "type": page.route, path: '/', external: true }
})
} : {}),
"System": [
Expand Down

0 comments on commit 0cb7090

Please sign in to comment.