demo shell host setting component login redirect after setting

This commit is contained in:
Eugenio Romano
2018-06-17 23:10:55 +01:00
parent 4d4a8d2864
commit fa6a6725cf
5 changed files with 15 additions and 7 deletions

View File

@@ -1 +1,2 @@
This component is only for internal use
<adf-host-settings (cancel)="onCancel()" (success)="onSuccess()" (error)="onError($event)"></adf-host-settings>

View File

@@ -34,10 +34,10 @@ export class SettingsComponent {
}
onCancel() {
this.router.navigate(['/']);
this.router.navigate(['/login']);
}
onSuccess() {
this.router.navigate(['/']);
this.router.navigate(['/login']);
}
}