@trudb/tru-common-lib 0.0.419 → 0.0.420
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/tru-desktop.mjs +2 -2
- package/esm2020/lib/components/desktop/window/tru-desktop-window.mjs +2 -2
- package/fesm2015/trudb-tru-common-lib.mjs +2 -2
- package/fesm2015/trudb-tru-common-lib.mjs.map +1 -1
- package/fesm2020/trudb-tru-common-lib.mjs +2 -2
- package/fesm2020/trudb-tru-common-lib.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -3102,7 +3102,7 @@ class TruDesktopWindow {
|
|
|
3102
3102
|
if (this.window.views === undefined)
|
|
3103
3103
|
return;
|
|
3104
3104
|
var length = this.window.views.length;
|
|
3105
|
-
this.disablePrevious = !!(this.window.views[0].
|
|
3105
|
+
this.disablePrevious = !!(this.window.views[0].active$.getValue() || length === 1);
|
|
3106
3106
|
this.disableNext = !!(this.window.views[length - 1].onActive.getValue() || length === 1);
|
|
3107
3107
|
};
|
|
3108
3108
|
/**
|
|
@@ -3694,7 +3694,7 @@ class TruDesktop {
|
|
|
3694
3694
|
this.getActiveView = (wdw) => {
|
|
3695
3695
|
var activeView = null;
|
|
3696
3696
|
wdw.views.forEach((view) => {
|
|
3697
|
-
if (view.
|
|
3697
|
+
if (view.active$.getValue() === true) {
|
|
3698
3698
|
activeView = view;
|
|
3699
3699
|
}
|
|
3700
3700
|
});
|