aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
},