diff --git a/openmetadata-ui/src/main/resources/ui/src/components/ServiceInsights/PlatformInsightsWidget/PlatformInsightsWidget.tsx b/openmetadata-ui/src/main/resources/ui/src/components/ServiceInsights/PlatformInsightsWidget/PlatformInsightsWidget.tsx index 1420590b8f3..a557587d320 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/ServiceInsights/PlatformInsightsWidget/PlatformInsightsWidget.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/ServiceInsights/PlatformInsightsWidget/PlatformInsightsWidget.tsx @@ -51,7 +51,8 @@ function PlatformInsightsWidget({ {t('message.platform-insight-description')} - + {/* Don't remove this class name, it is used for exporting the platform insights chart */} + { const extraDropdownContent = useMemo( () => entityUtilClassBase.getManageExtraOptions( - serviceCategory === 'databaseServices' - ? EntityType.DATABASE_SERVICE - : EntityType.ALL, + getEntityTypeFromServiceCategory(serviceCategory), decodedServiceFQN, servicePermission, serviceDetails?.deleted ?? false