@schneideress/dashboardframework 0.0.18 → 0.0.19

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.
@@ -537,7 +537,7 @@
537
537
  if (this.globalFilter && this.raDashboardEventBus && this.appConfig) {
538
538
  this.loadWidgets(this.userDashboardId, this.areaKey);
539
539
  }
540
- if (changes.raDashboardEventBus.currentValue != changes.raDashboardEventBus.previousValue) {
540
+ if (changes.raDashboardEventBus && changes.raDashboardEventBus.currentValue != changes.raDashboardEventBus.previousValue) {
541
541
  this.inititateEventBusSubscritions();
542
542
  }
543
543
  };
@@ -620,7 +620,6 @@
620
620
  * @return {?}
621
621
  */
622
622
  function () {
623
- console.log(widgetList);
624
623
  if (widgetList) {
625
624
  widgetList.forEach((/**
626
625
  * @param {?} widgetInfo
@@ -724,9 +723,6 @@
724
723
  if (this.options.api) {
725
724
  areaHeight = areaScrollHeight * this.options.api.getCurrentRowHeight() + 2;
726
725
  }
727
- else {
728
- console.log('api not defined in auto height');
729
- }
730
726
  if (areaHeight < 600) {
731
727
  areaHeight = 600;
732
728
  }
@@ -960,7 +956,6 @@
960
956
  */
961
957
  function (changes) {
962
958
  var _this = this;
963
- console.log(this.data);
964
959
  if (changes.raDashboardEventBus && changes.raDashboardEventBus.currentValue != changes.raDashboardEventBus.previousValue) {
965
960
  this.configChanged = this.raDashboardEventBus.subscribeWithKey(RAEvent.ConfigChanged, RAEventKey.WidgetInstanceId, this.data.widgetInfo.widgetInstanceId.toString()).subscribe((/**
966
961
  * @param {?} e
@@ -970,7 +965,7 @@
970
965
  _this.configChangeEventHandler(e);
971
966
  }));
972
967
  }
973
- if (this.widgetElement && changes.globalFilter.currentValue != changes.globalFilter.previousValue) {
968
+ if (this.widgetElement && changes.globalFilter && changes.globalFilter.currentValue != changes.globalFilter.previousValue) {
974
969
  this.refreshWidget(this.data.widgetInfo);
975
970
  }
976
971
  };