removal of unwanted nav menu item
This commit is contained in:
+4
-4
@@ -13,17 +13,17 @@ const UsersListToolbar = () => {
|
||||
<UsersListFilter />
|
||||
|
||||
{/* begin::Export */}
|
||||
<button type='button' className='btn btn-light-primary me-3'>
|
||||
{/* <button type='button' className='btn btn-light-primary me-3'>
|
||||
<KTIcon iconName='exit-up' className='fs-2' />
|
||||
Export
|
||||
</button>
|
||||
</button> */}
|
||||
{/* end::Export */}
|
||||
|
||||
{/* begin::Add user */}
|
||||
<button type='button' className='btn btn-primary' onClick={openAddUserModal}>
|
||||
{/* <button type='button' className='btn btn-primary' onClick={openAddUserModal}>
|
||||
<KTIcon iconName='plus' className='fs-2' />
|
||||
Add User
|
||||
</button>
|
||||
</button> */}
|
||||
{/* end::Add user */}
|
||||
</div>
|
||||
)
|
||||
|
||||
@@ -3,17 +3,17 @@ import {Route, Routes, Navigate} from 'react-router-dom'
|
||||
import {MasterLayout} from '../../_digifi/layout/MasterLayout'
|
||||
import TopBarProgress from 'react-topbar-progress-indicator'
|
||||
import {DashboardWrapper} from '../pages/dashboard/DashboardWrapper'
|
||||
import {MenuTestPage} from '../pages/MenuTestPage'
|
||||
// import {MenuTestPage} from '../pages/MenuTestPage'
|
||||
import {getCSSVariableValue} from '../../_digifi/assets/ts/_utils'
|
||||
import {WithChildren} from '../../_digifi/helpers'
|
||||
import BuilderPageWrapper from '../pages/layout-builder/BuilderPageWrapper'
|
||||
// import BuilderPageWrapper from '../pages/layout-builder/BuilderPageWrapper'
|
||||
|
||||
const PrivateRoutes = () => {
|
||||
// const WizardsPage = lazy(() => import('../modules/wizards/WizardsPage'))
|
||||
// const AccountPage = lazy(() => import('../modules/accounts/AccountPage'))
|
||||
// const WidgetsPage = lazy(() => import('../modules/widgets/WidgetsPage'))
|
||||
// const ChatPage = lazy(() => import('../modules/apps/chat/ChatPage'))
|
||||
const ProcessPage = lazy(() => import('../modules/process/ProcessPage'))
|
||||
const WizardsPage = lazy(() => import('../modules/wizards/WizardsPage'))
|
||||
const AccountPage = lazy(() => import('../modules/accounts/AccountPage'))
|
||||
const WidgetsPage = lazy(() => import('../modules/widgets/WidgetsPage'))
|
||||
const ChatPage = lazy(() => import('../modules/apps/chat/ChatPage'))
|
||||
const UsersPage = lazy(() => import('../modules/apps/user-management/UsersPage'))
|
||||
|
||||
return (
|
||||
@@ -23,8 +23,8 @@ const PrivateRoutes = () => {
|
||||
<Route path='auth/*' element={<Navigate to='/dashboard' />} />
|
||||
{/* Pages */}
|
||||
<Route path='dashboard' element={<DashboardWrapper />} />
|
||||
<Route path='builder' element={<BuilderPageWrapper />} />
|
||||
<Route path='menu-test' element={<MenuTestPage />} />
|
||||
{/* <Route path='builder' element={<BuilderPageWrapper />} /> */}
|
||||
{/* <Route path='menu-test' element={<MenuTestPage />} /> */}
|
||||
{/* Lazy Modules */}
|
||||
<Route
|
||||
path='loan/pages/process/*'
|
||||
@@ -34,38 +34,38 @@ const PrivateRoutes = () => {
|
||||
</SuspensedView>
|
||||
}
|
||||
/>
|
||||
<Route
|
||||
{/* <Route
|
||||
path='crafted/pages/wizards/*'
|
||||
element={
|
||||
<SuspensedView>
|
||||
<WizardsPage />
|
||||
</SuspensedView>
|
||||
}
|
||||
/>
|
||||
<Route
|
||||
/> */}
|
||||
{/* <Route
|
||||
path='crafted/widgets/*'
|
||||
element={
|
||||
<SuspensedView>
|
||||
<WidgetsPage />
|
||||
</SuspensedView>
|
||||
}
|
||||
/>
|
||||
<Route
|
||||
/> */}
|
||||
{/* <Route
|
||||
path='crafted/account/*'
|
||||
element={
|
||||
<SuspensedView>
|
||||
<AccountPage />
|
||||
</SuspensedView>
|
||||
}
|
||||
/>
|
||||
<Route
|
||||
/> */}
|
||||
{/* <Route
|
||||
path='apps/chat/*'
|
||||
element={
|
||||
<SuspensedView>
|
||||
<ChatPage />
|
||||
</SuspensedView>
|
||||
}
|
||||
/>
|
||||
/> */}
|
||||
<Route
|
||||
path='apps/user-management/*'
|
||||
element={
|
||||
|
||||
Reference in New Issue
Block a user