aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2016-02-05 15:08:08 +0100
committerStas Vilchik <vilchiks@gmail.com>2016-02-05 15:08:08 +0100
commit99afa2aa3a594c2c270db860692fc70d7281e301 (patch)
treefde5a60fa9a327d40a456ed1e9f33824f6c682bf /server
parent6a42c875ab63681b99ebea83272cee7bc94f9530 (diff)
downloadsonarqube-99afa2aa3a594c2c270db860692fc70d7281e301.tar.gz
sonarqube-99afa2aa3a594c2c270db860692fc70d7281e301.zip
improve code quality
Diffstat (limited to 'server')
-rw-r--r--server/sonar-web/src/main/js/components/shared/FavoriteIssueFilter.js2
-rw-r--r--server/sonar-web/src/main/js/components/shared/FavoriteMeasureFilter.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/components/shared/FavoriteIssueFilter.js b/server/sonar-web/src/main/js/components/shared/FavoriteIssueFilter.js
index aa78a2add0f..fb7d817557c 100644
--- a/server/sonar-web/src/main/js/components/shared/FavoriteIssueFilter.js
+++ b/server/sonar-web/src/main/js/components/shared/FavoriteIssueFilter.js
@@ -23,7 +23,7 @@ import { toggleIssueFilter } from '../../api/issue-filters';
export default React.createClass({
propTypes: {
- filter: React.PropTypes.string.isRequired,
+ filter: React.PropTypes.object.isRequired,
favorite: React.PropTypes.bool.isRequired
},
diff --git a/server/sonar-web/src/main/js/components/shared/FavoriteMeasureFilter.js b/server/sonar-web/src/main/js/components/shared/FavoriteMeasureFilter.js
index 18cf94ea1d1..620583e57ae 100644
--- a/server/sonar-web/src/main/js/components/shared/FavoriteMeasureFilter.js
+++ b/server/sonar-web/src/main/js/components/shared/FavoriteMeasureFilter.js
@@ -23,7 +23,7 @@ import { toggleMeasureFilter } from '../../api/measure-filters';
export default React.createClass({
propTypes: {
- filter: React.PropTypes.string.isRequired,
+ filter: React.PropTypes.object.isRequired,
favorite: React.PropTypes.bool.isRequired
},