@datarailsshared/dr_renderer 1.2.323-dragons → 1.2.324

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.323-dragons",
3
+ "version": "1.2.324",
4
4
  "description": "DataRails charts and tables renderer",
5
5
  "keywords": [
6
6
  "datarails",
@@ -199,11 +199,10 @@ let initDRPivotTable = function($, window, document) {
199
199
  let flatColKey = colKey.join(delim);
200
200
 
201
201
  if (this.keysLength === rowKey.length + colKey.length) {
202
- const isDrValuesRows = this.rowAttrs.length === 1 && this.rowAttrs[0] === 'DR_Values';
203
- if ((!this.isKeysSortingDoneOnBackendSide || isDrValuesRows) && !this.rowKeys.some(rKey => rKey.join(delim) === flatRowKey)) {
202
+ if (!this.rowKeys.some(rKey => rKey.join(delim) === flatRowKey)) {
204
203
  this.rowKeys.push(rowKey);
205
204
  }
206
- if (!this.isKeysSortingDoneOnBackendSide && !this.colKeys.some(cKey => cKey.join(delim) === flatColKey)) {
205
+ if (!this.colKeys.some(cKey => cKey.join(delim) === flatColKey)) {
207
206
  this.colKeys.push(colKey);
208
207
  }
209
208
  }
@@ -235,6 +234,7 @@ let initDRPivotTable = function($, window, document) {
235
234
  insight: insight,
236
235
  });
237
236
  }
237
+
238
238
  return;
239
239
  }
240
240