aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/background-tasks/components/Search.js
diff options
context:
space:
mode:
authorStas Vilchik <stas.vilchik@sonarsource.com>2017-07-17 10:07:30 +0200
committerGitHub <noreply@github.com>2017-07-17 10:07:30 +0200
commitd5b076b2fc8988e9a3799ba7775f851e1a12cbb7 (patch)
tree3c0f98977cc487747efeeeb47974fc13e70eab97 /server/sonar-web/src/main/js/apps/background-tasks/components/Search.js
parentc8797aabc9b4d705f7da59b43717e5c0fe0e80fb (diff)
downloadsonarqube-d5b076b2fc8988e9a3799ba7775f851e1a12cbb7.tar.gz
sonarqube-d5b076b2fc8988e9a3799ba7775f851e1a12cbb7.zip
upgrade prettier and remove prettier-eslint (#2254)
Diffstat (limited to 'server/sonar-web/src/main/js/apps/background-tasks/components/Search.js')
-rw-r--r--server/sonar-web/src/main/js/apps/background-tasks/components/Search.js23
1 files changed, 6 insertions, 17 deletions
diff --git a/server/sonar-web/src/main/js/apps/background-tasks/components/Search.js b/server/sonar-web/src/main/js/apps/background-tasks/components/Search.js
index f14ff423f91..a9b301e2e11 100644
--- a/server/sonar-web/src/main/js/apps/background-tasks/components/Search.js
+++ b/server/sonar-web/src/main/js/apps/background-tasks/components/Search.js
@@ -78,9 +78,7 @@ export default class Search extends React.PureComponent {
return (
<li>
- <h6 className="bt-search-form-label">
- Search by Task or Component
- </h6>
+ <h6 className="bt-search-form-label">Search by Task or Component</h6>
<input
onChange={e => this.handleQueryChange(e.target.value)}
@@ -110,16 +108,12 @@ export default class Search extends React.PureComponent {
<section className="big-spacer-top big-spacer-bottom">
<ul className="bt-search-form">
<li>
- <h6 className="bt-search-form-label">
- Status
- </h6>
+ <h6 className="bt-search-form-label">Status</h6>
<StatusFilter value={status} onChange={this.handleStatusChange.bind(this)} />
</li>
{types.length > 1 &&
<li>
- <h6 className="bt-search-form-label">
- Type
- </h6>
+ <h6 className="bt-search-form-label">Type</h6>
<TypesFilter
value={taskType}
types={types}
@@ -128,15 +122,11 @@ export default class Search extends React.PureComponent {
</li>}
{!component &&
<li>
- <h6 className="bt-search-form-label">
- Only Latest Analysis
- </h6>
+ <h6 className="bt-search-form-label">Only Latest Analysis</h6>
<CurrentsFilter value={currents} onChange={this.handleCurrentsChange.bind(this)} />
</li>}
<li>
- <h6 className="bt-search-form-label">
- Date
- </h6>
+ <h6 className="bt-search-form-label">Date</h6>
<DateFilter
minSubmittedAt={minSubmittedAt}
maxExecutedAt={maxExecutedAt}
@@ -149,8 +139,7 @@ export default class Search extends React.PureComponent {
<li className="bt-search-form-right">
<button className="js-reload" onClick={this.handleReload.bind(this)} disabled={loading}>
{translate('reload')}
- </button>
- {' '}
+ </button>{' '}
<button ref="resetButton" onClick={this.handleReset.bind(this)} disabled={loading}>
{translate('reset_verb')}
</button>