@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.
@@ -2293,6 +2293,8 @@ var RAWidgetContainer = /** @class */ (function () {
2293
2293
  widgetConfigFilter.widgetInfo = widgetInfo;
2294
2294
  widgetConfigFilter.configChanges = this.getConfigChanges(false);
2295
2295
  widgetConfigFilter.widgetInfo.widgetName = widgetInfo.widgetName;
2296
+ widgetConfigFilter.widgetInfo.isPortfolioClientDB = widgetInfo.isPortfolioClientDB;
2297
+ widgetConfigFilter.widgetInfo.isPortfolioDashboard = widgetInfo.isPortfolioDashboard;
2296
2298
  widgetConfigFilter.globalFilter = this.globalFilter;
2297
2299
  this.widgetElement.loadContent(widgetConfigFilter);
2298
2300
  return [4 /*yield*/, this.setLock(widgetConfigFilter.config)];
@@ -2606,7 +2608,7 @@ var RAWidgetContainer = /** @class */ (function () {
2606
2608
  /** @type {?} */
2607
2609
  var html = _this.getContenxtHtml(style);
2608
2610
  jQuery(html).appendTo('body');
2609
- if (_this.isWidgetMgmnt) {
2611
+ if (_this.isWidgetMgmnt && !_this.data.widgetInfo.isPortfolioClientDB) {
2610
2612
  _this.addEventListener('wcEditWidget', _this.editWidget);
2611
2613
  _this.addEventListener('wcCopyWidget', _this.copyWidget);
2612
2614
  _this.addEventListener('wcMoveWidget', _this.moveWidget);
@@ -2696,7 +2698,7 @@ var RAWidgetContainer = /** @class */ (function () {
2696
2698
  var html = '<div id="ra-db-widget-menu"' + 'style="' + style + '" class="download-content dropdown-content widget-config-item dropdown-click" style="z-index: 1002;">';
2697
2699
  /** @type {?} */
2698
2700
  var settings = '';
2699
- if (this.isWidgetMgmnt) {
2701
+ if (this.isWidgetMgmnt && !this.data.widgetInfo.isPortfolioClientDB) {
2700
2702
  settings += this.getHtmlForButton('wcEditWidget', 'fal fa-edit', this.editText);
2701
2703
  settings += this.getHtmlForButton('wcCopyWidget', 'fal fa-copy', this.copyText);
2702
2704
  settings += this.getHtmlForButton('wcMoveWidget', 'fal fa-arrows-alt', this.moveText);