Commit d75d4a5c by Mitsuhiro Tanda

filter empty dimension

parent 266fe876
...@@ -306,6 +306,9 @@ function (angular, _, kbn) { ...@@ -306,6 +306,9 @@ function (angular, _, kbn) {
.map(function(metric) { .map(function(metric) {
return metric.Dimensions; return metric.Dimensions;
}) })
.reject(function(metric) {
return _.isEmpty(metric);
})
.value(); .value();
return d.resolve(suggestData); return d.resolve(suggestData);
......
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