fix: wire up admin page route to render UserManagement component
This commit is contained in:
@@ -1012,6 +1012,11 @@ export default function App() {
|
|||||||
{currentPage === 'compliance' && <CompliancePage onNavigate={setCurrentPage} />}
|
{currentPage === 'compliance' && <CompliancePage onNavigate={setCurrentPage} />}
|
||||||
{currentPage === 'knowledge-base' && <KnowledgeBasePage />}
|
{currentPage === 'knowledge-base' && <KnowledgeBasePage />}
|
||||||
{currentPage === 'exports' && <ExportsPage />}
|
{currentPage === 'exports' && <ExportsPage />}
|
||||||
|
{currentPage === 'admin' && isAdmin() && (
|
||||||
|
<div className="space-y-6">
|
||||||
|
<UserManagement onClose={() => setCurrentPage('home')} />
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
|
||||||
{/* User Management Modal */}
|
{/* User Management Modal */}
|
||||||
{showUserManagement && (
|
{showUserManagement && (
|
||||||
|
|||||||
Reference in New Issue
Block a user