mirror of https://github.com/apache/superset.git
fix: certification icon order (#11881)
This commit is contained in:
parent
f292015ccd
commit
d041d3a7f1
|
@ -255,6 +255,9 @@ const TableSelector: FunctionComponent<TableSelectorProps> = ({
|
|||
function renderTableOption(option: any) {
|
||||
return (
|
||||
<TableLabel title={option.label}>
|
||||
<small className="text-muted">
|
||||
<i className={`fa fa-${option.type === 'view' ? 'eye' : 'table'}`} />
|
||||
</small>
|
||||
{option.extra?.certification && (
|
||||
<CertifiedIconWithTooltip
|
||||
certifiedBy={option.extra.certification.certified_by}
|
||||
|
@ -262,9 +265,6 @@ const TableSelector: FunctionComponent<TableSelectorProps> = ({
|
|||
size={20}
|
||||
/>
|
||||
)}
|
||||
<small className="text-muted">
|
||||
<i className={`fa fa-${option.type === 'view' ? 'eye' : 'table'}`} />
|
||||
</small>
|
||||
{option.label}
|
||||
</TableLabel>
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue