fix: certification icon order (#11881)

This commit is contained in:
Erik Ritter 2020-12-01 17:11:09 -08:00 committed by GitHub
parent f292015ccd
commit d041d3a7f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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>
);