]> source.dussan.org Git - sonarqube.git/commitdiff
fix display of favorite measure filters
authorStas Vilchik <vilchiks@gmail.com>
Tue, 2 Feb 2016 15:45:19 +0000 (16:45 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Tue, 2 Feb 2016 15:52:31 +0000 (16:52 +0100)
server/sonar-web/src/main/js/apps/account/containers/AccountApp.js

index 7b30e1479a25b4d8d89bd93dddef3da3be5861f9..2b3198b682b6388866ebbe3014b1d59b2fea76d5 100644 (file)
@@ -47,9 +47,10 @@ class AccountApp extends Component {
     }
 
     const { favorites } = window.sonarqube.user;
+    const measureFilters = window.sonarqube.user.favoriteMeasureFilters;
     const { issueFilters } = this.state;
     const children = cloneElement(this.props.children, {
-      measureFilters: user.favoriteMeasureFilters,
+      measureFilters,
       user,
       favorites,
       issueFilters