mirror of
https://github.com/grafana/grafana.git
synced 2024-11-26 19:00:54 -06:00
Merge pull request #3880 from vitorboschi/fix3877
add default value for fill policy
This commit is contained in:
commit
2897f618a6
@ -276,7 +276,7 @@ function (angular, _, dateMath) {
|
||||
|
||||
query.downsample = interval + "-" + target.downsampleAggregator;
|
||||
|
||||
if (target.downsampleFillPolicy !== "none") {
|
||||
if (target.downsampleFillPolicy && target.downsampleFillPolicy !== "none") {
|
||||
query.downsample += "-" + target.downsampleFillPolicy;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user