@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.
@@ -411,7 +411,6 @@ var RADashboardArea = /** @class */ (function () {
411
411
  this.domResized = false;
412
412
  this.showEmptyDashboard = false;
413
413
  this.isWidgetMgmnt = false;
414
- this.templateId = '';
415
414
  this.widgetHeight = 2;
416
415
  this.widgetWidth = 4;
417
416
  this.hideDashboardBanner = new EventEmitter();
@@ -580,12 +579,11 @@ var RADashboardArea = /** @class */ (function () {
580
579
  /** To retrieve widgets based on userDashboardid and area name */
581
580
  RADashboardArea.prototype.loadWidgets = function (userDashboarId, areaKey) {
582
581
  var _this = this;
583
- if (localStorage.getItem('IndicatorDashboardTemplateId'))
584
- this.templateId = localStorage.getItem('IndicatorDashboardTemplateId');
582
+ var isIndicatorDashboard = localStorage.getItem('IsIndicatorDashboard') == 'true' ? true : false;
585
583
  var widgetInfo = {
586
584
  dashboardId: userDashboarId.toString(),
587
585
  dashboardAreaKey: areaKey,
588
- templateId: this.templateId
586
+ isIndicatorDashboard: isIndicatorDashboard
589
587
  };
590
588
  this.widgetList = [];
591
589
  this.dashboardService.getWidgetsByDashboardArea(widgetInfo, this.appConfig).subscribe(function (widgets) {
@@ -4836,6 +4834,7 @@ var RaBaseDashboardFilter = /** @class */ (function () {
4836
4834
  RaBaseDashboardFilter.prototype.ngOnInit = function () {
4837
4835
  var myEvent = new CustomEvent("global-filter-initiated");
4838
4836
  document.body.dispatchEvent(myEvent);
4837
+ this.hideControls();
4839
4838
  };
4840
4839
  __decorate([
4841
4840
  Input(),