We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a848fe commit 2e9fd59Copy full SHA for 2e9fd59
src/dashboard/Data/Browser/BrowserTable.react.js
@@ -433,8 +433,8 @@ export default class BrowserTable extends React.Component {
433
{table}
434
<DataBrowserHeaderBar
435
selected={
436
- this.props.selection &&
437
- this.props.data &&
+ !!this.props.selection &&
+ !!this.props.data &&
438
Object.values(this.props.selection).filter(checked => checked).length === this.props.data.length
439
}
440
selectAll={checked => this.props.data.forEach(({ id }) => this.props.selectRow(id, checked))}
0 commit comments