removal of unwanted nav menu item
This commit is contained in:
@@ -13,17 +13,17 @@ const Navbar = () => {
|
||||
const {config} = useLayout()
|
||||
return (
|
||||
<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 />
|
||||
</div>
|
||||
</div> */}
|
||||
|
||||
<div className={clsx('app-navbar-item', itemClass)}>
|
||||
{/* <div className={clsx('app-navbar-item', itemClass)}>
|
||||
<div id='kt_activities_toggle' className={btnClass}>
|
||||
<KTIcon iconName='chart-simple' className={btnIconClass} />
|
||||
</div>
|
||||
</div>
|
||||
</div> */}
|
||||
|
||||
<div className={clsx('app-navbar-item', itemClass)}>
|
||||
{/* <div className={clsx('app-navbar-item', itemClass)}>
|
||||
<div
|
||||
data-kt-menu-trigger="{default: 'click'}"
|
||||
data-kt-menu-attach='parent'
|
||||
@@ -33,14 +33,14 @@ const Navbar = () => {
|
||||
<KTIcon iconName='element-plus' className={btnIconClass} />
|
||||
</div>
|
||||
<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'>
|
||||
<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' />
|
||||
</div>
|
||||
</div>
|
||||
</div> */}
|
||||
|
||||
<div className={clsx('app-navbar-item', itemClass)}>
|
||||
<ThemeModeSwitcher toggleBtnClass={clsx('btn-active-light-primary btn-custom')} />
|
||||
|
||||
@@ -49,7 +49,7 @@ const ToolbarClassic = () => {
|
||||
</a>
|
||||
)}
|
||||
|
||||
{config.app?.toolbar?.primaryButton && (
|
||||
{/* {config.app?.toolbar?.primaryButton && (
|
||||
<a
|
||||
href='#'
|
||||
onClick={() => setShowCreateAppModal(true)}
|
||||
@@ -57,7 +57,7 @@ const ToolbarClassic = () => {
|
||||
>
|
||||
Create
|
||||
</a>
|
||||
)}
|
||||
)} */}
|
||||
<CreateAppModal show={showCreateAppModal} handleClose={() => setShowCreateAppModal(false)} />
|
||||
</div>
|
||||
)
|
||||
|
||||
+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