@datarailsshared/dr_renderer 1.2.85 → 1.2.86

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.85",
3
+ "version": "1.2.86",
4
4
  "description": "DataRails charts and tables renderer",
5
5
  "keywords": [
6
6
  "datarails",
@@ -779,7 +779,7 @@ let initDRPivotTable = function($, window, document) {
779
779
  applyInlineStyles = function(element, className) {
780
780
  const tableDesignOptions = opts.chartOptions.table_design_options;
781
781
  let optionName;
782
- if (!className) return element;
782
+ if (!className || !tableDesignOptions) return element;
783
783
 
784
784
  if (element.className.includes('pvtAxisLabel') ||
785
785
  element.className.includes('pvtColLabel')) {