diff --git a/src/Libs/Vidyano/vidyano.ts b/src/Libs/Vidyano/vidyano.ts index 8ef13c9d..5cae7820 100644 --- a/src/Libs/Vidyano/vidyano.ts +++ b/src/Libs/Vidyano/vidyano.ts @@ -1599,14 +1599,6 @@ namespace Vidyano { // Noop } - onRedirectToSignIn(keepUrl: boolean = true) { - // Noop - } - - onRedirectToSignOut(keepUrl: boolean = true) { - // Noop - } - onConstructPersistentObject(service: Service, po: any): PersistentObject { return new PersistentObject(service, po); } diff --git a/src/WebComponents/App/app.ts b/src/WebComponents/App/app.ts index 7a090b0e..5d5e3bed 100644 --- a/src/WebComponents/App/app.ts +++ b/src/WebComponents/App/app.ts @@ -429,11 +429,11 @@ namespace Vidyano.WebComponents { } redirectToSignIn(keepUrl: boolean = true) { - this.app.service.hooks.onRedirectToSignIn(keepUrl); + (this.app.service.hooks).onRedirectToSignIn(keepUrl); } redirectToSignOut(keepUrl: boolean = true) { - this.app.service.hooks.onRedirectToSignOut(keepUrl); + (this.app.service.hooks).onRedirectToSignOut(keepUrl); } async showDialog(dialog: Dialog): Promise {