@datarailsshared/dr_renderer 1.2.372 → 1.2.373

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datarailsshared/dr_renderer",
3
- "version": "1.2.372",
3
+ "version": "1.2.373",
4
4
  "description": "DataRails charts and tables renderer",
5
5
  "keywords": [
6
6
  "datarails",
@@ -9697,7 +9697,7 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
9697
9697
  lodash.forEach(res, (dataRow) => {
9698
9698
  if (!lodash.isNil(dataRow.row_keys) || !lodash.isNil(dataRow.col_keys)) {
9699
9699
  if (!sortingObjectToReturn) {
9700
- sortingObjectToReturn = Object.assign({}, dataRow);
9700
+ sortingObjectToReturn = lodash.clone(dataRow);
9701
9701
  } else {
9702
9702
  sortingObjectToReturn.row_keys = lodash.concat(sortingObjectToReturn.row_keys, dataRow.row_keys || []);
9703
9703
  }
@@ -9708,7 +9708,7 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
9708
9708
  if (sortingObjectToReturn) {
9709
9709
  const resWithoutSortObjects = lodash.filter(res, (dataRow) => !dataRow.isSortingObject);
9710
9710
  res.length = 0;
9711
- Object.assign(res, resWithoutSortObjects);
9711
+ lodash.assign(res, resWithoutSortObjects);
9712
9712
  }
9713
9713
 
9714
9714
  return sortingObjectToReturn;