[develop]: Role-verification: Add relatve to route parameter.
This commit is contained in:
parent
e0de892998
commit
c33af181bb
|
@ -93,6 +93,8 @@ export class RoleVerificationComponent extends BaseComponent implements OnInit,
|
|||
public userInfoLinkPrefix = '';
|
||||
@Input()
|
||||
public userInfoLink = null;
|
||||
@Input()
|
||||
public relativeTo: ActivatedRoute = this._route;
|
||||
public user: User;
|
||||
public verification: any;
|
||||
public code: UntypedFormControl;
|
||||
|
@ -150,7 +152,7 @@ export class RoleVerificationComponent extends BaseComponent implements OnInit,
|
|||
'errorCode': LoginErrorCodes.NOT_LOGIN,
|
||||
'redirectUrl': this._router.url
|
||||
},
|
||||
relativeTo: this._route
|
||||
relativeTo: this.relativeTo
|
||||
});
|
||||
}
|
||||
} else if(this.isMember) {
|
||||
|
|
Loading…
Reference in New Issue