Skip to content

Commit

Permalink
keep select all checked if admin is selected
Browse files Browse the repository at this point in the history
  • Loading branch information
luacmartins committed Jan 17, 2023
1 parent 96afdf0 commit b85e275
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 @@ -346,7 +346,7 @@ class WorkspaceMembersPage extends React.Component {
<View style={[styles.peopleRow, styles.ph5, styles.pb3]}>
<View style={[styles.peopleRowCell]}>
<Checkbox
isChecked={this.state.selectedEmployees.length === removableMembers.length && removableMembers.length !== 0}
isChecked={this.state.selectedEmployees.length >= removableMembers.length && removableMembers.length !== 0}
onPress={() => this.toggleAllUsers()}
/>
</View>
Expand Down

0 comments on commit b85e275

Please sign in to comment.