@schneideress/dashboardframework 0.0.180 → 0.0.181

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.
@@ -1958,9 +1958,12 @@
1958
1958
  if (this.gridCellHeight > 0) {
1959
1959
  this.data.widgetInfo.rowHeight = this.gridCellHeight;
1960
1960
  }
1961
- if (this.widgetElement) {
1961
+ if (this.widgetElement && typeof (this.widgetElement.setConfigFilter) == 'function') {
1962
1962
  this.widgetElement.setConfigFilter(this.generateConfigFilter(true));
1963
1963
  }
1964
+ else {
1965
+ console.warn('widget framework outdated, please update to version 0.0.98');
1966
+ }
1964
1967
  this.refreshWidget(this.data.widgetInfo, true);
1965
1968
  };
1966
1969
  /**
@@ -2227,6 +2230,9 @@
2227
2230
  console.log('wiget container filter data is');
2228
2231
  console.log(widgetConfigFilter);
2229
2232
  if (!widgetContainerContext.isWidgetLoaded) return [3 /*break*/, 3];
2233
+ if (this.widgetElement && typeof (this.widgetElement.setConfigFilter) == 'function') {
2234
+ widgetContainerContext.widgetElement.setConfigFilter(widgetConfigFilter);
2235
+ }
2230
2236
  widgetContainerContext.widgetElement.loadContent(widgetConfigFilter);
2231
2237
  return [4 /*yield*/, this.setLock(widgetConfigFilter.config)];
2232
2238
  case 1: