Skip to content

Commit

Permalink
fix #493
Browse files Browse the repository at this point in the history
  • Loading branch information
AllenFang committed Jun 9, 2016
1 parent 58540b3 commit 4d25667
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TableBody.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ class TableBody extends Component {
);
} else {
columnChild = formattedValue;
columnTitle = column.columnTitle ? formattedValue.toString() : null;
columnTitle = column.columnTitle && formattedValue ? formattedValue.toString() : null;
}
} else {
columnTitle = column.columnTitle ? fieldValue.toString() : null;
columnTitle = column.columnTitle && fieldValue ? fieldValue.toString() : null;
}
return (
<TableColumn key={ i }
Expand Down

0 comments on commit 4d25667

Please sign in to comment.