Trying to remove/edit from the admin dashboard #11965
Unanswered
PpWichoLefort
asked this question in
Q&A
Replies: 1 comment
-
just clone the repo and use dashboard as standalone FE |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I´m wornking with the new V2 and I really want to edit and remove some admin functionalities that came with the repo

What I want:
Remove the changelog and Documentation options in setting
There is an approach to edit the node modules with patch-package but I couldn´t make it work:
1.- In package.json add:
"scripts": {
"postinstall": "patch-package"
}
2.- yarn add patch-package postinstall-postinstall
3.- Make the changes in the file i need which is node_modules/@medusajs/dashboard/src/components/layout/user-menu/user-menu.tsx and delete the items for the changelog and documentation
4.-yarn patch-package @medusajs/dashboard the patch is created
5.-patch-package the patch is made
6.- yarn run build
7.-yarn run dev
The thing is that this doesn´t work and couldn´t find a workaround for this solution, is there another way to edit or remove already made functionalities?
Any help is welcome and thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions