@trudb/tru-common-lib 0.0.443 → 0.0.444

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.
@@ -3210,15 +3210,12 @@ class TruDesktopWindow {
3210
3210
  * Removes all inactive view(s) following the active view and inserts a new view.
3211
3211
  *
3212
3212
  */
3213
- this.addView = (viewConfigOverlay) => {
3213
+ this.addView = (viewConfig) => {
3214
3214
  this.removeForwardViews();
3215
3215
  var activeView = this.desktopCtrl.getActiveView(this.window);
3216
3216
  activeView.active(false);
3217
- var viewConfig = this.desktopCtrl.getDesktop().viewConfig;
3218
- var viewConfigInstance = Object.assign({}, viewConfig);
3219
- var extended = Object.assign(viewConfigInstance, viewConfigOverlay);
3220
- extended.window = this;
3221
- this.window.views.push(extended);
3217
+ viewConfig.window = this;
3218
+ this.window.views.push(viewConfig);
3222
3219
  this.updateNavigationState();
3223
3220
  };
3224
3221
  /**