@datorama/core 21.4.0-rc.3 → 21.4.0-rc.4

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.
@@ -14661,7 +14661,7 @@ var GridService = /** @class */ (function () {
14661
14661
  GridService.prototype.initPivotSecondaryColsProcess = function (_a) {
14662
14662
  var gridOptions = _a.gridOptions;
14663
14663
  gridOptions.processSecondaryColDef = function (colDef) {
14664
- var api = colDef.headerComponentParams.gridQuery.api;
14664
+ var api = colDef.headerComponentParams && colDef.headerComponentParams.gridQuery.api;
14665
14665
  if (api) {
14666
14666
  var valueColumns = colDef.headerComponentParams.gridQuery.api.columns.getValueColumns();
14667
14667
  var originalColDef = valueColumns