[angular-16-irish-monitor | DONE | CHANGED] Orcid-work: change deprecated Session isLoggedIn method

This commit is contained in:
argirok 2023-12-19 11:07:55 +02:00
parent 48ce09e400
commit e900c28318
1 changed files with 2 additions and 2 deletions

View File

@ -442,7 +442,7 @@ export class OrcidWorkComponent {
}
openGrantWindow() {
if (!Session.isLoggedIn()) {
if (!this.isLoggedIn) {
//this.userValidMessage = "User session has expired. Please login again.";
this._router.navigate(['/user-info'], {
queryParams: {
@ -514,7 +514,7 @@ export class OrcidWorkComponent {
}
public saveWorkPreparation() {
if (!Session.isLoggedIn()) {
if (!this.isLoggedIn) {
//this.userValidMessage = "User session has expired. Please login again.";
this._router.navigate(['/user-info'], {
queryParams: {