@datorama/core 22.13.0-beta.1 → 22.13.0-beta.2

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.
@@ -16038,8 +16038,10 @@ var DatoGridV2Component = /** @class */ (function () {
16038
16038
  }
16039
16039
  Object.defineProperty(DatoGridV2Component.prototype, "grid", {
16040
16040
  set: function (agGrid) {
16041
- var agGridEl = query('ag-grid-angular', this.host.nativeElement);
16042
- this.controller._initializeGrid(agGrid, agGridEl);
16041
+ if (agGrid) {
16042
+ var agGridEl = query('ag-grid-angular', this.host.nativeElement);
16043
+ this.controller._initializeGrid(agGrid, agGridEl);
16044
+ }
16043
16045
  },
16044
16046
  enumerable: true,
16045
16047
  configurable: true
@@ -16077,7 +16079,7 @@ var DatoGridV2Component = /** @class */ (function () {
16077
16079
  { type: ElementRef }
16078
16080
  ]; };
16079
16081
  __decorate([
16080
- ViewChild(AgGridAngular, { static: true }),
16082
+ ViewChild(AgGridAngular, { static: false }),
16081
16083
  __metadata("design:type", AgGridAngular),
16082
16084
  __metadata("design:paramtypes", [AgGridAngular])
16083
16085
  ], DatoGridV2Component.prototype, "grid", null);