chore: render icons from EntityDisplayName

Signed-off-by: NIKUNJ LALITKUMAR HUDKA <nikunjhudka123@gmail.com>
This commit is contained in:
NIKUNJ LALITKUMAR HUDKA
2024-05-08 09:07:30 -03:00
parent 163be63163
commit f57e0314c8
@@ -149,11 +149,8 @@ export const EntityListComponent = (props: EntityListComponentProps) => {
}
: {})}
>
<ListItemIcon>{Icon && <Icon />}</ListItemIcon>
<ListItemText
primary={
<EntityDisplayName hideIcon entityRef={entity} />
}
primary={<EntityDisplayName entityRef={entity} />}
/>
</ListItem>
);