@schneideress/dashboardframework 0.0.241 → 0.0.242

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.
@@ -2736,7 +2736,7 @@
2736
2736
  this.isDownloadIconVisible = true;
2737
2737
  }
2738
2738
  else {
2739
- if (!this.isWidgetMgmnt && !this.detailPageUrl) {
2739
+ if ((!this.isWidgetMgmnt || this.data.widgetInfo.isPortfolioClientDB) && !this.detailPageUrl) {
2740
2740
  this.showSettingsLink = false;
2741
2741
  }
2742
2742
  }
@@ -2929,7 +2929,7 @@
2929
2929
  settings += this.translateService.translate('Common.visitpage');
2930
2930
  settings += '</span></a>';
2931
2931
  }
2932
- if (this.detailPageUrl || this.isWidgetMgmnt) {
2932
+ if (this.detailPageUrl || (this.isWidgetMgmnt && !this.data.widgetInfo.isPortfolioClientDB)) {
2933
2933
  html += '<div style="color: #9FA0A4;font-size: 12px;padding-top: 8px;padding-left: 12px;">';
2934
2934
  html += this.translateService.translate('Common.settings') + '</div>';
2935
2935
  html += settings;
@@ -2937,7 +2937,7 @@
2937
2937
  }
2938
2938
  if (this.isDownloadIconVisible) {
2939
2939
  if (this.showExcell) {
2940
- if (this.detailPageUrl || this.isWidgetMgmnt)
2940
+ if (this.detailPageUrl || (this.isWidgetMgmnt && !this.data.widgetInfo.isPortfolioClientDB))
2941
2941
  html += '<span style="color: #9FA0A4;font-size: 12px;">';
2942
2942
  else
2943
2943
  html += '<span style="color: #9FA0A4;font-size: 12px;padding-top:5px;display:block;">';
@@ -2958,10 +2958,10 @@
2958
2958
  html += '</div>';
2959
2959
  }
2960
2960
  }
2961
- if (this.isDownloadIconVisible && this.isWidgetMgmnt && this.showExcell) {
2961
+ if (this.isDownloadIconVisible && (this.isWidgetMgmnt && !this.data.widgetInfo.isPortfolioClientDB) && this.showExcell) {
2962
2962
  html += this.getHr();
2963
2963
  }
2964
- if (this.isWidgetMgmnt) {
2964
+ if (this.isWidgetMgmnt && !this.data.widgetInfo.isPortfolioClientDB) {
2965
2965
  html += '<a id="wcWidgetDelete"><i class="fal fa-times" style="padding-left: 3px;color: red;"></i><span>';
2966
2966
  html += this.deleteText;
2967
2967
  html += '</span></a>';