@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.
- package/esm2020/lib/components/desktop/window/tru-desktop-window.mjs +4 -7
- package/fesm2015/trudb-tru-common-lib.mjs +3 -6
- package/fesm2015/trudb-tru-common-lib.mjs.map +1 -1
- package/fesm2020/trudb-tru-common-lib.mjs +3 -6
- package/fesm2020/trudb-tru-common-lib.mjs.map +1 -1
- package/lib/components/desktop/window/tru-desktop-window.d.ts +1 -1
- package/package.json +1 -1
|
@@ -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 = (
|
|
3213
|
+
this.addView = (viewConfig) => {
|
|
3214
3214
|
this.removeForwardViews();
|
|
3215
3215
|
var activeView = this.desktopCtrl.getActiveView(this.window);
|
|
3216
3216
|
activeView.active(false);
|
|
3217
|
-
|
|
3218
|
-
|
|
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
|
/**
|