@cdmx/wappler_ag_grid 1.7.0 → 1.7.1

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.
Files changed (2) hide show
  1. package/dmx-ag-grid.js +3 -3
  2. package/package.json +1 -1
package/dmx-ag-grid.js CHANGED
@@ -1904,15 +1904,15 @@ dmx.Component('ag-grid', {
1904
1904
 
1905
1905
  requestUpdate: function (props, oldValue) {
1906
1906
  this.set('count', this.props.data.length);
1907
- if (!dmx.equal(this.props.data, oldValue.data) && !this.props.noload) {
1907
+ if (!dmx.equal(this.props.data, oldValue?.data) && !this.props.noload) {
1908
1908
  let gridInstance = this.refreshGrid();
1909
1909
  this.set('gridInstance', gridInstance);
1910
1910
  }
1911
- if (!dmx.equal(this.props.dark_mode, oldValue.dark_mode)) {
1911
+ if (!dmx.equal(this.props.dark_mode, oldValue?.dark_mode)) {
1912
1912
  let gridInstance = this.refreshGrid();
1913
1913
  this.set('gridInstance', gridInstance);
1914
1914
  }
1915
- if (!dmx.equal(this.props.cfilters, oldValue.cfilters)){
1915
+ if (!dmx.equal(this.props.cfilters, oldValue?.cfilters)){
1916
1916
  let gridInstance = this.get('gridInstance');
1917
1917
  if (gridInstance && this.props.cfilters && this.props.cfilters.length > 0) {
1918
1918
  var filterModel = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cdmx/wappler_ag_grid",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "type": "module",
5
5
  "description": "App Connect module for AG Grid Table Generation.",
6
6
  "license": "MIT",