aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2016-02-02 16:45:19 +0100
committerStas Vilchik <vilchiks@gmail.com>2016-02-02 16:52:31 +0100
commit306235dabcb40a5ae1cbdb805ed42990edc1919a (patch)
tree070df1bef342e27b73e44abf677140ea327651ad
parent9c9a8bb5dd608b710c3a16d1eaa7101e6742b3a5 (diff)
downloadsonarqube-306235dabcb40a5ae1cbdb805ed42990edc1919a.tar.gz
sonarqube-306235dabcb40a5ae1cbdb805ed42990edc1919a.zip
fix display of favorite measure filters
-rw-r--r--server/sonar-web/src/main/js/apps/account/containers/AccountApp.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/account/containers/AccountApp.js b/server/sonar-web/src/main/js/apps/account/containers/AccountApp.js
index 7b30e1479a2..2b3198b682b 100644
--- a/server/sonar-web/src/main/js/apps/account/containers/AccountApp.js
+++ b/server/sonar-web/src/main/js/apps/account/containers/AccountApp.js
@@ -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