[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() {
|
openGrantWindow() {
|
||||||
if (!Session.isLoggedIn()) {
|
if (!this.isLoggedIn) {
|
||||||
//this.userValidMessage = "User session has expired. Please login again.";
|
//this.userValidMessage = "User session has expired. Please login again.";
|
||||||
this._router.navigate(['/user-info'], {
|
this._router.navigate(['/user-info'], {
|
||||||
queryParams: {
|
queryParams: {
|
||||||
|
@ -514,7 +514,7 @@ export class OrcidWorkComponent {
|
||||||
}
|
}
|
||||||
|
|
||||||
public saveWorkPreparation() {
|
public saveWorkPreparation() {
|
||||||
if (!Session.isLoggedIn()) {
|
if (!this.isLoggedIn) {
|
||||||
//this.userValidMessage = "User session has expired. Please login again.";
|
//this.userValidMessage = "User session has expired. Please login again.";
|
||||||
this._router.navigate(['/user-info'], {
|
this._router.navigate(['/user-info'], {
|
||||||
queryParams: {
|
queryParams: {
|
||||||
|
|
Loading…
Reference in New Issue