Commit bb3360e9 by Vitor Boschi

add default value for fill policy

parent a985f21d
...@@ -276,7 +276,7 @@ function (angular, _, dateMath) { ...@@ -276,7 +276,7 @@ function (angular, _, dateMath) {
query.downsample = interval + "-" + target.downsampleAggregator; query.downsample = interval + "-" + target.downsampleAggregator;
if (target.downsampleFillPolicy !== "none") { if (target.downsampleFillPolicy && target.downsampleFillPolicy !== "none") {
query.downsample += "-" + target.downsampleFillPolicy; query.downsample += "-" + target.downsampleFillPolicy;
} }
} }
......
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