mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
demo shell host setting component login redirect after setting
This commit is contained in:
@@ -1 +1,2 @@
|
||||
This component is only for internal use
|
||||
<adf-host-settings (cancel)="onCancel()" (success)="onSuccess()" (error)="onError($event)"></adf-host-settings>
|
||||
|
@@ -34,10 +34,10 @@ export class SettingsComponent {
|
||||
}
|
||||
|
||||
onCancel() {
|
||||
this.router.navigate(['/']);
|
||||
this.router.navigate(['/login']);
|
||||
}
|
||||
|
||||
onSuccess() {
|
||||
this.router.navigate(['/']);
|
||||
this.router.navigate(['/login']);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user