mirror of
https://github.com/grafana/grafana.git
synced 2025-02-10 23:55:47 -06:00
Fixes 267, Functions without params (like integral) now causes graph to update correctly
This commit is contained in:
parent
c727863616
commit
18e0a60b9e
@ -1,7 +1,7 @@
|
||||
# vNext
|
||||
- More graphite functions
|
||||
- Fix for Text panel, now changes take effect directly (Issue #251)
|
||||
|
||||
- Fix when adding functions without params that did not cause graph to update (issue #267)
|
||||
|
||||
# 1.5.2 (2013-03-24)
|
||||
### New Features and improvements
|
||||
|
@ -234,7 +234,7 @@ function (angular, _, config, gfunc, Parser) {
|
||||
$scope.moveAliasFuncLast();
|
||||
$scope.smartlyHandleNewAliasByNode(newFunc);
|
||||
|
||||
if (!funcDef.params && newFunc.added) {
|
||||
if (!funcDef.params.length && newFunc.added) {
|
||||
$scope.targetChanged();
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user