diff options
author | Stas Vilchik <stas-vilchik@users.noreply.github.com> | 2017-03-31 13:54:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-31 13:54:46 +0200 |
commit | fe716c6dc43d4d7acb437136b1c87902e8ff0bc4 (patch) | |
tree | 6b8a18d7a8f76de1fd34be3235d1639477b75d71 /server/sonar-web/src/main/js/apps/account | |
parent | e660d605a27992d82d901b8fe0b8938da7afb270 (diff) | |
download | sonarqube-fe716c6dc43d4d7acb437136b1c87902e8ff0bc4.tar.gz sonarqube-fe716c6dc43d4d7acb437136b1c87902e8ff0bc4.zip |
re-format js code (#1877)
Diffstat (limited to 'server/sonar-web/src/main/js/apps/account')
4 files changed, 5 insertions, 7 deletions
diff --git a/server/sonar-web/src/main/js/apps/account/notifications/Projects.js b/server/sonar-web/src/main/js/apps/account/notifications/Projects.js index 41de2832fdb..89c32e17079 100644 --- a/server/sonar-web/src/main/js/apps/account/notifications/Projects.js +++ b/server/sonar-web/src/main/js/apps/account/notifications/Projects.js @@ -49,7 +49,8 @@ class Projects extends React.Component { }; componentWillReceiveProps(nextProps: Props) { - // remove all projects from `this.state.addedProjects` that already exist in `nextProps.projects` + // remove all projects from `this.state.addedProjects` + // that already exist in `nextProps.projects` const nextAddedProjects = differenceBy( this.state.addedProjects, nextProps.projects, diff --git a/server/sonar-web/src/main/js/apps/account/organizations/CreateOrganizationForm.js b/server/sonar-web/src/main/js/apps/account/organizations/CreateOrganizationForm.js index 26d0f515e48..fc0fca467d9 100644 --- a/server/sonar-web/src/main/js/apps/account/organizations/CreateOrganizationForm.js +++ b/server/sonar-web/src/main/js/apps/account/organizations/CreateOrganizationForm.js @@ -122,8 +122,7 @@ class CreateOrganizationForm extends React.Component { contentLabel="modal form" className="modal" overlayClassName="modal-overlay" - onRequestClose={this.closeForm} - > + onRequestClose={this.closeForm}> <header className="modal-head"> <h2>{translate('my_account.create_organization')}</h2> </header> diff --git a/server/sonar-web/src/main/js/apps/account/profile/UserExternalIdentity.js b/server/sonar-web/src/main/js/apps/account/profile/UserExternalIdentity.js index 3bf647a6693..8cbb30de069 100644 --- a/server/sonar-web/src/main/js/apps/account/profile/UserExternalIdentity.js +++ b/server/sonar-web/src/main/js/apps/account/profile/UserExternalIdentity.js @@ -78,8 +78,7 @@ export default class UserExternalIdentity extends React.Component { return ( <div className="identity-provider" - style={{ backgroundColor: identityProvider.backgroundColor }} - > + style={{ backgroundColor: identityProvider.backgroundColor }}> <img src={window.baseUrl + identityProvider.iconPath} width="14" diff --git a/server/sonar-web/src/main/js/apps/account/projects/ProjectCard.js b/server/sonar-web/src/main/js/apps/account/projects/ProjectCard.js index b6130a538c7..074fd288f8b 100644 --- a/server/sonar-web/src/main/js/apps/account/projects/ProjectCard.js +++ b/server/sonar-web/src/main/js/apps/account/projects/ProjectCard.js @@ -72,8 +72,7 @@ export default class ProjectCard extends React.Component { href={link.href} title={link.name} target="_blank" - rel="nofollow" - > + rel="nofollow"> <i className={`icon-color-link icon-${link.type}`} /> </a> </li> |