diff --git a/superset-frontend/src/components/Label/reusable/DatasetTypeLabel.tsx b/superset-frontend/src/components/Label/reusable/DatasetTypeLabel.tsx index 939389e662ce9..7379665583c7a 100644 --- a/superset-frontend/src/components/Label/reusable/DatasetTypeLabel.tsx +++ b/superset-frontend/src/components/Label/reusable/DatasetTypeLabel.tsx @@ -36,7 +36,7 @@ const DatasetTypeLabel: React.FC = ({ datasetType }) => { ) : ( ); - const labelType: 'primary' | 'success' = + const labelType: 'primary' | 'secondary' = datasetType === 'physical' ? 'primary' : 'secondary'; return (