Skip to content

Commit

Permalink
#3849 Fix initialization of dashboard-level parameters (#3853)
Browse files Browse the repository at this point in the history
  • Loading branch information
kravets-levko authored and arikfr committed May 30, 2019
1 parent c2e31f0 commit 2e96e2f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/app/services/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,8 @@ function DashboardService($resource, $http, $location, currentUser, Widget) {
}
});
return _.values(_.each(globalParams, (param) => {
param.fromUrlParams(queryParams);
param.setValue(param.getValue()); // apply global param value to all locals
param.fromUrlParams(queryParams); // try to initialize from url (may do nothing)
}));
};

Expand Down

0 comments on commit 2e96e2f

Please sign in to comment.