mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
fix metrics loading
This commit is contained in:
parent
0eaa10f97f
commit
f44ac5c30c
@ -22,9 +22,8 @@ function getMetricsForToggle (state, toggleName) {
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
export default connect((state, props) => ({
|
||||
metrics: getMetricsForToggle(state, props.featureToggleName),
|
||||
metrics: getMetricsForToggle(state, props.featureToggle.name),
|
||||
}), {
|
||||
fetchFeatureMetrics,
|
||||
toggleFeature,
|
||||
|
Loading…
Reference in New Issue
Block a user