Fix templatig issue, when no values returned, closes #354

This commit is contained in:
Alexander Zobnin
2017-02-11 16:26:23 +03:00
parent eca809679d
commit 94c24e9be4
8 changed files with 17 additions and 17 deletions

View File

@@ -378,7 +378,7 @@ var ZabbixAPIDatasource = function () {
}
return result.then(function (metrics) {
return metrics.map(formatMetric);
return _lodash2.default.map(metrics, formatMetric);
});
}