Remove menu render from Backend
Last updated
Last updated
In the Able Pro React admin, a few dashboard menus (i.e. Default, Analytics, Components) load from our mock API (). If you want to remove it from your admin panel, follow the steps below and remove/edit the suggested line of code.
Delete menu-items file dashboard.tsx
[src/menu-items/dashboard.tsx]
Open the file src/layout/Dashboard/Drawer/DrawerContent/Navigation/index.jsx
and edit the code below.
From:
To:
Open file src/layout/Dashboard/Drawer/DrawerContent/Navigation/index.tsx
and remove the below line of code.
Open the file src\api\menu.ts
and remove the code below.
Open file src\api\menu.ts
and edit the below line of code. [ Only For Typescript Version]
Form:
To:
Delete menu-items file dashboard.tsx
[src/menu-items/dashboard.tsx]
Open the file src/layout/Dashboard/Drawer/DrawerContent/Navigation/index.jsx
and edit the code below.
From:
To:
Open file src/layout/Dashboard/Drawer/DrawerContent/Navigation/index.tsx
and remove the below line of code.
Open the file src\api\menu.ts
and remove the code below.
Open file src\api\menu.ts
and edit the below line of code. [ Only For Typescript Version]
Form:
To:
In the Able Pro React admin, a few dashboard menus (i.e. Default, Analytics, Components) load from our mock API (). If you want to remove it from your admin panel, follow the steps below and remove/edit the suggested line of code.
In the Able Pro React admin, a few dashboard menus (i.e. Default, Analytics, Components) load from our mock API (). If you want to remove it from your admin panel, follow the steps below and remove/edit the suggested line of code.
In the Able Pro React admin, a few dashboard menus (i.e. Default, Analytics, Components) load from our mock API (). If you want to remove it from your admin panel, follow the steps below and remove/edit the suggested line of code.
In the Able Pro React admin, a few dashboard menus (i.e. Default, Analytics, Components) load from our mock API (). If you want to remove it from your admin panel, follow the steps below and remove/edit the suggested line of code.
In the Able Pro React admin, a few dashboard menus (i.e. Default, Analytics, Components) load from our mock API (). If you want to remove it from your admin panel, follow the steps below and remove/edit the suggested line of code.