Skip to content

Commit

Permalink
fix select all logic
Browse files Browse the repository at this point in the history
  • Loading branch information
luacmartins committed Jan 17, 2023
1 parent 5be2153 commit e2a9256
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/workspace/WorkspaceMembersPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ class WorkspaceMembersPage extends React.Component {
<View style={[styles.peopleRow, styles.ph5, styles.pb3]}>
<View style={[styles.peopleRowCell]}>
<Checkbox
isChecked={this.state.selectedEmployees.length === policyMemberList.length && policyMemberList.length !== 0}
isChecked={this.state.selectedEmployees.length === data.length && data.length !== 0}
onPress={() => this.toggleAllUsers()}
/>
</View>
Expand Down

0 comments on commit e2a9256

Please sign in to comment.