mirror of
https://github.com/apache/superset.git
synced 2026-05-06 16:34:32 +00:00
test: Adds tests and storybook to CertifiedIcon component (#13457)
This commit is contained in:
committed by
GitHub
parent
3c4591ef15
commit
9d6832dc27
@@ -29,7 +29,7 @@ import FormLabel from 'src/components/FormLabel';
|
||||
|
||||
import DatabaseSelector from 'src/components/DatabaseSelector';
|
||||
import RefreshLabel from 'src/components/RefreshLabel';
|
||||
import CertifiedIconWithTooltip from 'src/components/CertifiedIconWithTooltip';
|
||||
import CertifiedIcon from 'src/components/CertifiedIcon';
|
||||
import WarningIconWithTooltip from 'src/components/WarningIconWithTooltip';
|
||||
|
||||
const FieldTitle = styled.p`
|
||||
@@ -261,7 +261,7 @@ const TableSelector: FunctionComponent<TableSelectorProps> = ({
|
||||
<i className={`fa fa-${option.type === 'view' ? 'eye' : 'table'}`} />
|
||||
</small>
|
||||
{option.extra?.certification && (
|
||||
<CertifiedIconWithTooltip
|
||||
<CertifiedIcon
|
||||
certifiedBy={option.extra.certification.certified_by}
|
||||
details={option.extra.certification.details}
|
||||
size={20}
|
||||
|
||||
Reference in New Issue
Block a user