add default value for fill policy
This commit is contained in:
1 parent
a985f21d44
commit
bb3360e92a
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user