@datarailsshared/dr_renderer 1.2.154-dragons → 1.2.155-dragons

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.154-dragons",
3
+ "version": "1.2.155-dragons",
4
4
  "description": "DataRails charts and tables renderer",
5
5
  "keywords": [
6
6
  "datarails",
@@ -425,7 +425,10 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
425
425
  const othersName = opts.total_value_options ?
426
426
  lodash.get(opts, "total_value_options.filter_options.filteredOutFieldName") || 'Others' :
427
427
  undefined;
428
- var drOthersInColumn = lodash.find(pivotData.getColKeys(), keys => keys.length && (keys.includes('DR_Others') || keys.includes(othersName)));
428
+ var drOthersInColumn = lodash.find(
429
+ pivotData.getColKeys(),
430
+ keys => keys.length && (lodash.includes(keys, 'DR_Others') || lodash.includes(keys, othersName))
431
+ );
429
432
 
430
433
  var func = function () {
431
434
  var value = parseFloat(this.y);