removal of unwanted nav menu item
This commit is contained in:
@@ -13,17 +13,17 @@ const Navbar = () => {
|
|||||||
const {config} = useLayout()
|
const {config} = useLayout()
|
||||||
return (
|
return (
|
||||||
<div className='app-navbar flex-shrink-0'>
|
<div className='app-navbar flex-shrink-0'>
|
||||||
<div className={clsx('app-navbar-item align-items-stretch', itemClass)}>
|
{/* <div className={clsx('app-navbar-item align-items-stretch', itemClass)}>
|
||||||
<Search />
|
<Search />
|
||||||
</div>
|
</div> */}
|
||||||
|
|
||||||
<div className={clsx('app-navbar-item', itemClass)}>
|
{/* <div className={clsx('app-navbar-item', itemClass)}>
|
||||||
<div id='kt_activities_toggle' className={btnClass}>
|
<div id='kt_activities_toggle' className={btnClass}>
|
||||||
<KTIcon iconName='chart-simple' className={btnIconClass} />
|
<KTIcon iconName='chart-simple' className={btnIconClass} />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div> */}
|
||||||
|
|
||||||
<div className={clsx('app-navbar-item', itemClass)}>
|
{/* <div className={clsx('app-navbar-item', itemClass)}>
|
||||||
<div
|
<div
|
||||||
data-kt-menu-trigger="{default: 'click'}"
|
data-kt-menu-trigger="{default: 'click'}"
|
||||||
data-kt-menu-attach='parent'
|
data-kt-menu-attach='parent'
|
||||||
@@ -33,14 +33,14 @@ const Navbar = () => {
|
|||||||
<KTIcon iconName='element-plus' className={btnIconClass} />
|
<KTIcon iconName='element-plus' className={btnIconClass} />
|
||||||
</div>
|
</div>
|
||||||
<HeaderNotificationsMenu />
|
<HeaderNotificationsMenu />
|
||||||
</div>
|
</div> */}
|
||||||
|
|
||||||
<div className={clsx('app-navbar-item', itemClass)}>
|
{/* <div className={clsx('app-navbar-item', itemClass)}>
|
||||||
<div className={clsx('position-relative', btnClass)} id='kt_drawer_chat_toggle'>
|
<div className={clsx('position-relative', btnClass)} id='kt_drawer_chat_toggle'>
|
||||||
<KTIcon iconName='message-text-2' className={btnIconClass} />
|
<KTIcon iconName='message-text-2' className={btnIconClass} />
|
||||||
<span className='bullet bullet-dot bg-success h-6px w-6px position-absolute translate-middle top-0 start-50 animation-blink' />
|
<span className='bullet bullet-dot bg-success h-6px w-6px position-absolute translate-middle top-0 start-50 animation-blink' />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div> */}
|
||||||
|
|
||||||
<div className={clsx('app-navbar-item', itemClass)}>
|
<div className={clsx('app-navbar-item', itemClass)}>
|
||||||
<ThemeModeSwitcher toggleBtnClass={clsx('btn-active-light-primary btn-custom')} />
|
<ThemeModeSwitcher toggleBtnClass={clsx('btn-active-light-primary btn-custom')} />
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ const ToolbarClassic = () => {
|
|||||||
</a>
|
</a>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{config.app?.toolbar?.primaryButton && (
|
{/* {config.app?.toolbar?.primaryButton && (
|
||||||
<a
|
<a
|
||||||
href='#'
|
href='#'
|
||||||
onClick={() => setShowCreateAppModal(true)}
|
onClick={() => setShowCreateAppModal(true)}
|
||||||
@@ -57,7 +57,7 @@ const ToolbarClassic = () => {
|
|||||||
>
|
>
|
||||||
Create
|
Create
|
||||||
</a>
|
</a>
|
||||||
)}
|
)} */}
|
||||||
<CreateAppModal show={showCreateAppModal} handleClose={() => setShowCreateAppModal(false)} />
|
<CreateAppModal show={showCreateAppModal} handleClose={() => setShowCreateAppModal(false)} />
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
|
|||||||
+4
-4
@@ -13,17 +13,17 @@ const UsersListToolbar = () => {
|
|||||||
<UsersListFilter />
|
<UsersListFilter />
|
||||||
|
|
||||||
{/* begin::Export */}
|
{/* 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' />
|
<KTIcon iconName='exit-up' className='fs-2' />
|
||||||
Export
|
Export
|
||||||
</button>
|
</button> */}
|
||||||
{/* end::Export */}
|
{/* end::Export */}
|
||||||
|
|
||||||
{/* begin::Add user */}
|
{/* 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' />
|
<KTIcon iconName='plus' className='fs-2' />
|
||||||
Add User
|
Add User
|
||||||
</button>
|
</button> */}
|
||||||
{/* end::Add user */}
|
{/* end::Add user */}
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -3,17 +3,17 @@ import {Route, Routes, Navigate} from 'react-router-dom'
|
|||||||
import {MasterLayout} from '../../_digifi/layout/MasterLayout'
|
import {MasterLayout} from '../../_digifi/layout/MasterLayout'
|
||||||
import TopBarProgress from 'react-topbar-progress-indicator'
|
import TopBarProgress from 'react-topbar-progress-indicator'
|
||||||
import {DashboardWrapper} from '../pages/dashboard/DashboardWrapper'
|
import {DashboardWrapper} from '../pages/dashboard/DashboardWrapper'
|
||||||
import {MenuTestPage} from '../pages/MenuTestPage'
|
// import {MenuTestPage} from '../pages/MenuTestPage'
|
||||||
import {getCSSVariableValue} from '../../_digifi/assets/ts/_utils'
|
import {getCSSVariableValue} from '../../_digifi/assets/ts/_utils'
|
||||||
import {WithChildren} from '../../_digifi/helpers'
|
import {WithChildren} from '../../_digifi/helpers'
|
||||||
import BuilderPageWrapper from '../pages/layout-builder/BuilderPageWrapper'
|
// import BuilderPageWrapper from '../pages/layout-builder/BuilderPageWrapper'
|
||||||
|
|
||||||
const PrivateRoutes = () => {
|
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 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'))
|
const UsersPage = lazy(() => import('../modules/apps/user-management/UsersPage'))
|
||||||
|
|
||||||
return (
|
return (
|
||||||
@@ -23,8 +23,8 @@ const PrivateRoutes = () => {
|
|||||||
<Route path='auth/*' element={<Navigate to='/dashboard' />} />
|
<Route path='auth/*' element={<Navigate to='/dashboard' />} />
|
||||||
{/* Pages */}
|
{/* Pages */}
|
||||||
<Route path='dashboard' element={<DashboardWrapper />} />
|
<Route path='dashboard' element={<DashboardWrapper />} />
|
||||||
<Route path='builder' element={<BuilderPageWrapper />} />
|
{/* <Route path='builder' element={<BuilderPageWrapper />} /> */}
|
||||||
<Route path='menu-test' element={<MenuTestPage />} />
|
{/* <Route path='menu-test' element={<MenuTestPage />} /> */}
|
||||||
{/* Lazy Modules */}
|
{/* Lazy Modules */}
|
||||||
<Route
|
<Route
|
||||||
path='loan/pages/process/*'
|
path='loan/pages/process/*'
|
||||||
@@ -34,38 +34,38 @@ const PrivateRoutes = () => {
|
|||||||
</SuspensedView>
|
</SuspensedView>
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
<Route
|
{/* <Route
|
||||||
path='crafted/pages/wizards/*'
|
path='crafted/pages/wizards/*'
|
||||||
element={
|
element={
|
||||||
<SuspensedView>
|
<SuspensedView>
|
||||||
<WizardsPage />
|
<WizardsPage />
|
||||||
</SuspensedView>
|
</SuspensedView>
|
||||||
}
|
}
|
||||||
/>
|
/> */}
|
||||||
<Route
|
{/* <Route
|
||||||
path='crafted/widgets/*'
|
path='crafted/widgets/*'
|
||||||
element={
|
element={
|
||||||
<SuspensedView>
|
<SuspensedView>
|
||||||
<WidgetsPage />
|
<WidgetsPage />
|
||||||
</SuspensedView>
|
</SuspensedView>
|
||||||
}
|
}
|
||||||
/>
|
/> */}
|
||||||
<Route
|
{/* <Route
|
||||||
path='crafted/account/*'
|
path='crafted/account/*'
|
||||||
element={
|
element={
|
||||||
<SuspensedView>
|
<SuspensedView>
|
||||||
<AccountPage />
|
<AccountPage />
|
||||||
</SuspensedView>
|
</SuspensedView>
|
||||||
}
|
}
|
||||||
/>
|
/> */}
|
||||||
<Route
|
{/* <Route
|
||||||
path='apps/chat/*'
|
path='apps/chat/*'
|
||||||
element={
|
element={
|
||||||
<SuspensedView>
|
<SuspensedView>
|
||||||
<ChatPage />
|
<ChatPage />
|
||||||
</SuspensedView>
|
</SuspensedView>
|
||||||
}
|
}
|
||||||
/>
|
/> */}
|
||||||
<Route
|
<Route
|
||||||
path='apps/user-management/*'
|
path='apps/user-management/*'
|
||||||
element={
|
element={
|
||||||
|
|||||||
Reference in New Issue
Block a user