@ts-core/angular 15.0.24 → 15.0.26
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/login/LoginRequireResolver.mjs +2 -2
- package/esm2020/window/IWindowContent.mjs +4 -1
- package/fesm2015/ts-core-angular.mjs +4 -1
- package/fesm2015/ts-core-angular.mjs.map +1 -1
- package/fesm2020/ts-core-angular.mjs +4 -1
- package/fesm2020/ts-core-angular.mjs.map +1 -1
- package/login/LoginRequireResolver.d.ts +4 -4
- package/package.json +1 -1
|
@@ -3131,7 +3131,7 @@ class LoginRequireResolver {
|
|
|
3131
3131
|
// --------------------------------------------------------------------------
|
|
3132
3132
|
resolve() {
|
|
3133
3133
|
if (this.isLoggedIn()) {
|
|
3134
|
-
return Promise.resolve();
|
|
3134
|
+
return Promise.resolve(null);
|
|
3135
3135
|
}
|
|
3136
3136
|
let promise = PromiseHandler.create();
|
|
3137
3137
|
let subscription = this.login.events.subscribe(data => {
|
|
@@ -5983,6 +5983,9 @@ class IWindowContent extends DestroyableContainer {
|
|
|
5983
5983
|
}
|
|
5984
5984
|
ngOnDestroy() {
|
|
5985
5985
|
// do nothing, window will destroy content after closing
|
|
5986
|
+
if (_.isNil(this.window)) {
|
|
5987
|
+
super.ngOnDestroy();
|
|
5988
|
+
}
|
|
5986
5989
|
}
|
|
5987
5990
|
blink() {
|
|
5988
5991
|
if (!_.isNil(this.window)) {
|