Fixes typo in ListItemLayout
If no "leftActions" were defined on a ListItem, the "rightActions" will not be rendered due to a typo.old
parent
5d39761581
commit
a4de34ece1
|
@ -28,7 +28,7 @@ const ListItemLayout = (props) => {
|
|||
<span className={className}>
|
||||
{!emptyActions(leftActions) > 0 && <ListItemActions type='left'>{leftActions}</ListItemActions>}
|
||||
{content}
|
||||
{!emptyActions(leftActions) > 0 && <ListItemActions type='right'>{rightActions}</ListItemActions>}
|
||||
{!emptyActions(rightActions) > 0 && <ListItemActions type='right'>{rightActions}</ListItemActions>}
|
||||
</span>
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue