d15a13e485
- Delete all ops page components (ReviewQueue, AIMonitoring, Governance, SourceMonitoring, ActivityTimeline, SignalPipeline) - Remove OPERATIONS workspace from AppShell config, nav order, path detection - Remove all /ops/* routes from App.tsx - Remove WorkspaceType.OPERATIONS from allowedWorkspaces in authService, sessionStore, permissions - Keep MarketIntelligence page (already moved to /supply/market-intelligence) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
20 lines
542 B
TypeScript
20 lines
542 B
TypeScript
import { Chip } from '@mui/material'
|
|
import { Building2 } from 'lucide-react'
|
|
import { useSessionStore } from '../../stores/sessionStore'
|
|
|
|
export function OrganizationContextBadge() {
|
|
const { currentUser } = useSessionStore()
|
|
|
|
if (!currentUser?.organizationName) return null
|
|
|
|
return (
|
|
<Chip
|
|
size="small"
|
|
variant="outlined"
|
|
icon={<Building2 size={12} color="#64748b" />}
|
|
label={currentUser.organizationName}
|
|
sx={{ fontSize: '0.7rem', height: 22, color: '#64748b', borderColor: '#e2e8f0' }}
|
|
/>
|
|
)
|
|
}
|