@datarailsshared/dr_renderer 1.4.112 → 1.4.114
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 +1 -1
- package/src/dr_pivottable.js +1 -3
package/package.json
CHANGED
package/src/dr_pivottable.js
CHANGED
@@ -211,9 +211,7 @@ let initDRPivotTable = function($, window, document) {
|
|
211
211
|
if (!colKey.length && !rowKey.length) {
|
212
212
|
this.allTotal.push(record);
|
213
213
|
} else if (!colKey.length && rowKey.length) {
|
214
|
-
if (!this.rowTotals[flatRowKey]
|
215
|
-
&& isSmartQueriesEnabled
|
216
|
-
&& (record['Scenario'] === 'SQ_Actuals' || record['Scenario'] === 'Forecast'))) {
|
214
|
+
if (!this.rowTotals[flatRowKey] || isSmartQueriesEnabled) {
|
217
215
|
this.rowTotals[flatRowKey] = getRowAggregator(rowKey.slice());
|
218
216
|
this.rowTotals[flatRowKey].push(record);
|
219
217
|
}
|