@schneideress/dashboardframework 20.0.18 → 20.0.20

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.
@@ -3890,7 +3890,7 @@ class RAWidgetContainer {
3890
3890
  this.lockIconFooter = this.translateService.translate('Common.lockedfieldseditinfo');
3891
3891
  this.inapplicableIconTitle = this.translateService.translate('Common.InapplicableFilters');
3892
3892
  this.inapplicableIconFooter = this.translateService.translate('Common.InapplicableFiltersDesc');
3893
- if (this.dashboardInfo.templateName == 'Emission Report' || this.dashboardInfo.templateName == 'CostUsage Report') {
3893
+ if (this.dashboardInfo.templateName == 'Emission Report' || this.dashboardInfo.templateName == 'CostUsage Report' || this.dashboardInfo.templateName == 'Savings Report') {
3894
3894
  this.hideTitle = true;
3895
3895
  this.showOnlyDropdown = true;
3896
3896
  }
@@ -4807,7 +4807,7 @@ class RADashboardArea {
4807
4807
  this.setEmptyDashboardConfig();
4808
4808
  this.setDownloadOnlyStateConfig();
4809
4809
  this.lastViewType = this.responsiveService.IsDesktopView ? 'desktop' : 'mobile';
4810
- const gridTemplates = ['Emission Report', 'CostUsage Report', 'Site Detail'];
4810
+ const gridTemplates = ['Emission Report', 'CostUsage Report', 'Site Detail', 'Savings Report'];
4811
4811
  this.hasGrid = gridTemplates.includes(this.dashboardInfo.templateName);
4812
4812
  this.responsiveService.resized.subscribe((isDesktop) => {
4813
4813
  if (this.lastViewType != (isDesktop ? 'desktop' : 'mobile') || !isDesktop) {