Commit 91e5fcf8 by Torkel Ödegaard

fix(templating): fixed issue with repeat row, was pretty buggy due to very…

fix(templating): fixed issue with repeat row, was pretty buggy due to very recent change, fixes #2443
parent 5c7f34fe
# 2.1.1 (unreleased)
**Fixes**
- [Issue #2443](https://github.com/grafana/grafana/issues/2443). Templating: Fix for buggy repeat row behavior when combined with with repeat panel due to recent change before 2.1 release
# 2.1.0 (2015-08-04)
**Data sources**
......
......@@ -53,10 +53,6 @@ function (angular, _) {
row.panels = _.without(row.panels, panel);
j = j - 1;
}
// clean up left over scoped vars
else if (panel.scopedVars && panel.repeatIteration !== this.iteration) {
delete panel.scopedVars;
}
}
}
};
......@@ -120,7 +116,6 @@ function (angular, _) {
panel = copy.panels[i];
panel.scopedVars = {};
panel.scopedVars[variable.name] = option;
panel.repeatIteration = self.iteration;
}
});
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment