d2-charts-api
Advanced tools
Comparing version 27.0.7 to 27.0.8
@@ -25,16 +25,2 @@ 'use strict'; | ||
; | ||
/* | ||
let categories; | ||
if (isArray(ids) && ids.length) { | ||
categories = []; | ||
ids.forEach(id => { | ||
categories.push(metaData.items[id].name); | ||
}); | ||
} | ||
return categories; | ||
*/ | ||
//# sourceMappingURL=getCategories.js.map |
@@ -18,3 +18,3 @@ 'use strict'; | ||
} else { | ||
var filterTitle = (0, _getFilterTitle2.default)(layout, metaData); | ||
var filterTitle = (0, _getFilterTitle2.default)(layout.filters, metaData); | ||
@@ -21,0 +21,0 @@ switch (layout.type) { |
{ | ||
"name": "d2-charts-api", | ||
"version": "27.0.7", | ||
"version": "27.0.8", | ||
"description": "DHIS2 charts api", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -10,17 +10,2 @@ import isArray from 'd2-utilizr/lib/isArray'; | ||
return dimensionIds.map(id => metaData.items[id].name); | ||
}; | ||
/* | ||
let categories; | ||
if (isArray(ids) && ids.length) { | ||
categories = []; | ||
ids.forEach(id => { | ||
categories.push(metaData.items[id].name); | ||
}); | ||
} | ||
return categories; | ||
*/ | ||
}; |
@@ -48,3 +48,3 @@ import isString from 'd2-utilizr/lib/isString'; | ||
else { | ||
const filterTitle = getFilterTitle(layout, metaData); | ||
const filterTitle = getFilterTitle(layout.filters, metaData); | ||
@@ -51,0 +51,0 @@ switch(layout.type) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
172315
2543