Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/table/table-header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,19 +127,19 @@ let TableHeader = React.createClass({
},

_getSelectAllCheckboxColumn(props) {
if (!this.props.displaySelectAll) return this._getCheckboxPlaceholder(props);
if (!this.props.displaySelectAll) return this._getCheckboxPlaceholder(props);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you remove the trailling space?


const checkbox =
<Checkbox
key="selectallcb"
name="selectallcb"
value="selected"
disabled={!this.props.enableSelectAll}
checked={this.props.selectAllSelected}
onCheck={this._onSelectAll} />;

return (
<TableHeaderColumn style={{width: 24}}>
<TableHeaderColumn style={{width: 24}}
key="selectallcb">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't we have a different key for each element?

{checkbox}
</TableHeaderColumn>
);
Expand Down