diff options
author | Grégoire Aubert <gregoire.aubert@sonarsource.com> | 2019-03-25 14:10:40 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2019-03-29 09:44:59 +0100 |
commit | 1355d080cfa97eadfde70e6945e30f49a38ac28e (patch) | |
tree | 2e5b41f5898b00249f51bfd5b5267580c2e1b2ae /server/sonar-web/src/main/js/apps/organizationMembers/OrganizationMembers.tsx | |
parent | a289d7ab1248e465064129dc0e4b8d858fee2b79 (diff) | |
download | sonarqube-1355d080cfa97eadfde70e6945e30f49a38ac28e.tar.gz sonarqube-1355d080cfa97eadfde70e6945e30f49a38ac28e.zip |
Update prettier to last version
* Prettier format all modules
Diffstat (limited to 'server/sonar-web/src/main/js/apps/organizationMembers/OrganizationMembers.tsx')
-rw-r--r-- | server/sonar-web/src/main/js/apps/organizationMembers/OrganizationMembers.tsx | 49 |
1 files changed, 24 insertions, 25 deletions
diff --git a/server/sonar-web/src/main/js/apps/organizationMembers/OrganizationMembers.tsx b/server/sonar-web/src/main/js/apps/organizationMembers/OrganizationMembers.tsx index ae0fae4bcbf..5440ef11efe 100644 --- a/server/sonar-web/src/main/js/apps/organizationMembers/OrganizationMembers.tsx +++ b/server/sonar-web/src/main/js/apps/organizationMembers/OrganizationMembers.tsx @@ -209,33 +209,32 @@ export default class OrganizationMembers extends React.PureComponent<Props, Stat organization={organization} refreshMembers={this.refreshMembers} /> - {members !== undefined && - paging !== undefined && ( - <> - <MembersListHeader - currentUser={currentUser} - handleSearch={this.handleSearchMembers} - organization={organization} + {members !== undefined && paging !== undefined && ( + <> + <MembersListHeader + currentUser={currentUser} + handleSearch={this.handleSearchMembers} + organization={organization} + total={paging.total} + /> + <MembersList + currentUser={currentUser} + members={members} + organization={organization} + organizationGroups={groups} + removeMember={hasMemberSync ? undefined : this.handleRemoveMember} + updateMemberGroups={this.updateMemberGroups} + /> + {paging.total !== 0 && ( + <ListFooter + count={members.length} + loadMore={this.handleLoadMoreMembers} + ready={!loading} total={paging.total} /> - <MembersList - currentUser={currentUser} - members={members} - organization={organization} - organizationGroups={groups} - removeMember={hasMemberSync ? undefined : this.handleRemoveMember} - updateMemberGroups={this.updateMemberGroups} - /> - {paging.total !== 0 && ( - <ListFooter - count={members.length} - loadMore={this.handleLoadMoreMembers} - ready={!loading} - total={paging.total} - /> - )} - </> - )} + )} + </> + )} </div> ); } |