@vizzly/dashboard 0.15.0-dev-3d764e5c2346be462bbcf7327369903e64b96b40 → 0.15.0-dev-cb60671ff08bc2b1e49526d3d77bab5c35758dfd
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -34852,8 +34852,8 @@ var getMinMaxChartValueFromNumberArray = function getMinMaxChartValueFromNumberA
|
|
|
34852
34852
|
var getLabelDictionary = function getLabelDictionary(formattedData, keys) {
|
|
34853
34853
|
var formattedLabelNames = formattedData == null ? void 0 : formattedData.map(function (d) {
|
|
34854
34854
|
var convertedArray = keys.map(function (key) {
|
|
34855
|
-
var _ref;
|
|
34856
|
-
if (!d[key].formattedValue) return;
|
|
34855
|
+
var _d$key, _ref;
|
|
34856
|
+
if (!((_d$key = d[key]) != null && _d$key.formattedValue)) return;
|
|
34857
34857
|
var valueKey = normalizeKey(d[key].value);
|
|
34858
34858
|
var label = d[key].formattedValue;
|
|
34859
34859
|
return _ref = {}, _ref[valueKey] = label, _ref;
|