aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/web-api/components
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2016-06-10 17:37:21 +0200
committerGitHub <noreply@github.com>2016-06-10 17:37:21 +0200
commitc6c7bf08a06b6884785cc12e5d39e20ed9b3a36b (patch)
tree856f132b1fff3687ef27d1fbca4f708884661521 /server/sonar-web/src/main/js/apps/web-api/components
parentc321ee96905615ae8608e3047c5a5f0695e65bf2 (diff)
downloadsonarqube-c6c7bf08a06b6884785cc12e5d39e20ed9b3a36b.tar.gz
sonarqube-c6c7bf08a06b6884785cc12e5d39e20ed9b3a36b.zip
refactor react components (#1033)
Diffstat (limited to 'server/sonar-web/src/main/js/apps/web-api/components')
-rw-r--r--server/sonar-web/src/main/js/apps/web-api/components/Search.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/apps/web-api/components/Search.js b/server/sonar-web/src/main/js/apps/web-api/components/Search.js
index 5f6caa881b0..0784a4a33ea 100644
--- a/server/sonar-web/src/main/js/apps/web-api/components/Search.js
+++ b/server/sonar-web/src/main/js/apps/web-api/components/Search.js
@@ -20,7 +20,7 @@
import _ from 'underscore';
import React from 'react';
-import Checkbox from '../../../components/shared/checkbox';
+import Checkbox from '../../../components/controls/Checkbox';
import { TooltipsContainer } from '../../../components/mixins/tooltips-mixin';
import { translate } from '../../../helpers/l10n';
@@ -60,7 +60,7 @@ export default class Search extends React.Component {
<TooltipsContainer>
<div className="big-spacer-top">
<Checkbox
- initiallyChecked={showInternal}
+ checked={showInternal}
onCheck={onToggleInternal}/>
{' '}
<span
@@ -79,7 +79,7 @@ export default class Search extends React.Component {
<TooltipsContainer>
<div className="spacer-top">
<Checkbox
- initiallyChecked={showOnlyDeprecated}
+ checked={showOnlyDeprecated}
onCheck={onToggleDeprecated}/>
{' '}
<span