mirror of
https://github.com/apache/superset.git
synced 2024-09-18 03:29:38 -04:00
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) {
|
function renderTableOption(option: any) {
|
||||||
return (
|
return (
|
||||||
<TableLabel title={option.label}>
|
<TableLabel title={option.label}>
|
||||||
|
<small className="text-muted">
|
||||||
|
<i className={`fa fa-${option.type === 'view' ? 'eye' : 'table'}`} />
|
||||||
|
</small>
|
||||||
{option.extra?.certification && (
|
{option.extra?.certification && (
|
||||||
<CertifiedIconWithTooltip
|
<CertifiedIconWithTooltip
|
||||||
certifiedBy={option.extra.certification.certified_by}
|
certifiedBy={option.extra.certification.certified_by}
|
||||||
@ -262,9 +265,6 @@ const TableSelector: FunctionComponent<TableSelectorProps> = ({
|
|||||||
size={20}
|
size={20}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
<small className="text-muted">
|
|
||||||
<i className={`fa fa-${option.type === 'view' ? 'eye' : 'table'}`} />
|
|
||||||
</small>
|
|
||||||
{option.label}
|
{option.label}
|
||||||
</TableLabel>
|
</TableLabel>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user