@schneideress/dashboardframework 0.0.239 → 0.0.241

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.
@@ -2504,6 +2504,8 @@
2504
2504
  widgetConfigFilter.widgetInfo = widgetInfo;
2505
2505
  widgetConfigFilter.configChanges = this.getConfigChanges(false);
2506
2506
  widgetConfigFilter.widgetInfo.widgetName = widgetInfo.widgetName;
2507
+ widgetConfigFilter.widgetInfo.isPortfolioClientDB = widgetInfo.isPortfolioClientDB;
2508
+ widgetConfigFilter.widgetInfo.isPortfolioDashboard = widgetInfo.isPortfolioDashboard;
2507
2509
  widgetConfigFilter.globalFilter = this.globalFilter;
2508
2510
  this.widgetElement.loadContent(widgetConfigFilter);
2509
2511
  return [4 /*yield*/, this.setLock(widgetConfigFilter.config)];
@@ -2817,7 +2819,7 @@
2817
2819
  /** @type {?} */
2818
2820
  var html = _this.getContenxtHtml(style);
2819
2821
  jQuery(html).appendTo('body');
2820
- if (_this.isWidgetMgmnt) {
2822
+ if (_this.isWidgetMgmnt && !_this.data.widgetInfo.isPortfolioClientDB) {
2821
2823
  _this.addEventListener('wcEditWidget', _this.editWidget);
2822
2824
  _this.addEventListener('wcCopyWidget', _this.copyWidget);
2823
2825
  _this.addEventListener('wcMoveWidget', _this.moveWidget);
@@ -2907,7 +2909,7 @@
2907
2909
  var html = '<div id="ra-db-widget-menu"' + 'style="' + style + '" class="download-content dropdown-content widget-config-item dropdown-click" style="z-index: 1002;">';
2908
2910
  /** @type {?} */
2909
2911
  var settings = '';
2910
- if (this.isWidgetMgmnt) {
2912
+ if (this.isWidgetMgmnt && !this.data.widgetInfo.isPortfolioClientDB) {
2911
2913
  settings += this.getHtmlForButton('wcEditWidget', 'fal fa-edit', this.editText);
2912
2914
  settings += this.getHtmlForButton('wcCopyWidget', 'fal fa-copy', this.copyText);
2913
2915
  settings += this.getHtmlForButton('wcMoveWidget', 'fal fa-arrows-alt', this.moveText);