Merge pull request #3880 from vitorboschi/fix3877

add default value for fill policy
This commit is contained in:
Daniel Lee 2016-01-29 21:44:08 +01:00
commit 2897f618a6

View File

@ -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;
}
}