@@ -28,10 +28,6 @@ import {
2828 FileSpreadsheet as FileSpreadsheetIcon ,
2929 Package as PackageIcon ,
3030 Database as DatabaseIcon ,
31- Globe as GlobeIcon ,
32- Building2 as BuildingIcon ,
33- Layers as LayersIcon ,
34- BookOpen as BookOpenIcon ,
3531} from "lucide-react" ;
3632import { PageBreadcrumbs } from "../../../components/breadcrumbs/PageBreadcrumbs" ;
3733import PageHeader from "../../../components/Layout/PageHeader" ;
@@ -93,26 +89,6 @@ const PluginManagement: React.FC = () => {
9389
9490 const isAdmin = userRoleName === "Admin" ;
9591
96- // Helper function to get flag emoji from region
97- const getRegionFlag = ( region ?: string ) : string => {
98- if ( ! region ) return "🌐" ;
99- const regionFlags : Record < string , string > = {
100- "European Union" : "🇪🇺" ,
101- "United States" : "🇺🇸" ,
102- "United Kingdom" : "🇬🇧" ,
103- "Canada" : "🇨🇦" ,
104- "Australia" : "🇦🇺" ,
105- "Brazil" : "🇧🇷" ,
106- "Singapore" : "🇸🇬" ,
107- "Japan" : "🇯🇵" ,
108- "South Korea" : "🇰🇷" ,
109- "China" : "🇨🇳" ,
110- "India" : "🇮🇳" ,
111- "Global" : "🌐" ,
112- } ;
113- return regionFlags [ region ] || "🌐" ;
114- } ;
115-
11692 // Check if plugin is a compliance/framework plugin
11793 const isFrameworkPlugin = plugin ?. category === "compliance" ;
11894
@@ -463,33 +439,23 @@ const PluginManagement: React.FC = () => {
463439 < Divider />
464440 < Box >
465441 < Typography variant = "subtitle2" fontWeight = { 600 } fontSize = { 14 } mb = { 2 } >
466- < Box sx = { { display : "flex" , alignItems : "center" , gap : 1 } } >
467- < BookOpenIcon size = { 16 } color = "#13715B" />
468- Framework Details
469- </ Box >
442+ Framework Details
470443 </ Typography >
471444 < Box sx = { frameworkDetailsGrid } >
472445 { /* Region */ }
473446 < Box sx = { frameworkDetailItem } >
474447 < Box component = "span" sx = { frameworkDetailLabel } >
475- < Box component = "span" sx = { { display : "flex" , alignItems : "center" , gap : 0.5 } } >
476- < GlobeIcon size = { 12 } />
477- Region
478- </ Box >
448+ Region
479449 </ Box >
480450 < Box component = "span" sx = { frameworkDetailValue } >
481- < span style = { { fontSize : "18px" } } > { getRegionFlag ( plugin . region ) } </ span >
482451 { plugin . region || "Global" }
483452 </ Box >
484453 </ Box >
485454
486455 { /* Framework Type */ }
487456 < Box sx = { frameworkDetailItem } >
488457 < Box component = "span" sx = { frameworkDetailLabel } >
489- < Box component = "span" sx = { { display : "flex" , alignItems : "center" , gap : 0.5 } } >
490- { plugin . frameworkType === "organizational" ? < BuildingIcon size = { 12 } /> : < LayersIcon size = { 12 } /> }
491- Framework Type
492- </ Box >
458+ Framework Type
493459 </ Box >
494460 < Box >
495461 < MuiChip
@@ -651,7 +617,7 @@ const PluginManagement: React.FC = () => {
651617 { /* Configuration Card - Only show for installed plugins that require configuration */ }
652618 { plugin . installationStatus === PluginInstallationStatus . INSTALLED && plugin . requiresConfiguration !== false && (
653619 < Card sx = { cardStyles . base ( theme ) } >
654- < CardContent sx = { { p : 3 } } >
620+ < CardContent sx = { { p : "16px" } } >
655621 < Stack spacing = { 3 } >
656622 { /* Configuration Header */ }
657623 < Box sx = { { display : "flex" , alignItems : "center" , gap : 1.5 } } >
0 commit comments