[angular-16-irish-monitor | DONE | CHANGED] Orcid-work: change deprecated Session isLoggedIn method
This commit is contained in:
parent
48ce09e400
commit
e900c28318
|
@ -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: {
|
||||
|
|
Loading…
Reference in New Issue