@schneideress/dashboardframework 0.0.277 → 0.0.278

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.
@@ -622,7 +622,6 @@
622
622
  this.domResized = false;
623
623
  this.showEmptyDashboard = false;
624
624
  this.isWidgetMgmnt = false;
625
- this.templateId = '';
626
625
  this.widgetHeight = 2;
627
626
  this.widgetWidth = 4;
628
627
  this.hideDashboardBanner = new core.EventEmitter();
@@ -791,12 +790,11 @@
791
790
  /** To retrieve widgets based on userDashboardid and area name */
792
791
  RADashboardArea.prototype.loadWidgets = function (userDashboarId, areaKey) {
793
792
  var _this = this;
794
- if (localStorage.getItem('IndicatorDashboardTemplateId'))
795
- this.templateId = localStorage.getItem('IndicatorDashboardTemplateId');
793
+ var isIndicatorDashboard = localStorage.getItem('IsIndicatorDashboard') == 'true' ? true : false;
796
794
  var widgetInfo = {
797
795
  dashboardId: userDashboarId.toString(),
798
796
  dashboardAreaKey: areaKey,
799
- templateId: this.templateId
797
+ isIndicatorDashboard: isIndicatorDashboard
800
798
  };
801
799
  this.widgetList = [];
802
800
  this.dashboardService.getWidgetsByDashboardArea(widgetInfo, this.appConfig).subscribe(function (widgets) {
@@ -5047,6 +5045,7 @@
5047
5045
  RaBaseDashboardFilter.prototype.ngOnInit = function () {
5048
5046
  var myEvent = new CustomEvent("global-filter-initiated");
5049
5047
  document.body.dispatchEvent(myEvent);
5048
+ this.hideControls();
5050
5049
  };
5051
5050
  __decorate([
5052
5051
  core.Input(),