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

View File

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