mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
committed by
Eugenio Romano
parent
53d96679ea
commit
e39a2b149b
@@ -30,7 +30,7 @@ export class LogoutDirective implements OnInit {
|
||||
|
||||
/** Enable redirect after logout */
|
||||
@Input()
|
||||
enabelRedirect: boolean = true;
|
||||
enableRedirect: boolean = true;
|
||||
|
||||
constructor(private elementRef: ElementRef,
|
||||
private renderer: Renderer2,
|
||||
@@ -55,7 +55,7 @@ export class LogoutDirective implements OnInit {
|
||||
}
|
||||
|
||||
redirectToUri() {
|
||||
if (this.enabelRedirect) {
|
||||
if (this.enableRedirect) {
|
||||
this.router.navigate([this.redirectUri]);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user