@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.
@@ -16237,8 +16237,10 @@
16237
16237
  }
16238
16238
  Object.defineProperty(DatoGridV2Component.prototype, "grid", {
16239
16239
  set: function (agGrid) {
16240
- var agGridEl = query('ag-grid-angular', this.host.nativeElement);
16241
- this.controller._initializeGrid(agGrid, agGridEl);
16240
+ if (agGrid) {
16241
+ var agGridEl = query('ag-grid-angular', this.host.nativeElement);
16242
+ this.controller._initializeGrid(agGrid, agGridEl);
16243
+ }
16242
16244
  },
16243
16245
  enumerable: true,
16244
16246
  configurable: true
@@ -16276,7 +16278,7 @@
16276
16278
  { type: core.ElementRef }
16277
16279
  ]; };
16278
16280
  __decorate([
16279
- core.ViewChild(agGridAngular.AgGridAngular, { static: true }),
16281
+ core.ViewChild(agGridAngular.AgGridAngular, { static: false }),
16280
16282
  __metadata("design:type", agGridAngular.AgGridAngular),
16281
16283
  __metadata("design:paramtypes", [agGridAngular.AgGridAngular])
16282
16284
  ], DatoGridV2Component.prototype, "grid", null);