Skip to content

Commit 4d3e2e0

Browse files
committed
Fixed. wrong check empty actions
1 parent 5d39761 commit 4d3e2e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/list/ListItemLayout.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const ListItemLayout = (props) => {
2222
...props.rightActions
2323
];
2424
const content = props.itemContent || <ListItemContent caption={props.caption} legend={props.legend} />;
25-
const emptyActions = (item) => !item[0] && !item[1];
25+
const emptyActions = (item) => !item[0] && !item[1] && !item[2];
2626

2727
return (
2828
<span className={className}>

0 commit comments

Comments
 (0)