]> source.dussan.org Git - sonarqube.git/commitdiff
improve code quality
authorStas Vilchik <vilchiks@gmail.com>
Fri, 5 Feb 2016 14:08:08 +0000 (15:08 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Fri, 5 Feb 2016 14:08:08 +0000 (15:08 +0100)
server/sonar-web/src/main/js/components/shared/FavoriteIssueFilter.js
server/sonar-web/src/main/js/components/shared/FavoriteMeasureFilter.js

index aa78a2add0f42e5f4f52c1d2c382a687c4b67a25..fb7d817557c047640d0530b2f1b08f6dbef9ce51 100644 (file)
@@ -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
   },
 
index 18cf94ea1d1973d595fa6ed6aefbcd6894cbf44d..620583e57ae37d6dd08854f1c1c509d7f27bf3d4 100644 (file)
@@ -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
   },