mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 17:27:31 +00:00
rm instance redirect
This commit is contained in:
@@ -27,13 +27,11 @@ export class InstanceSelectorComponent {
|
|||||||
@Input({ required: true })
|
@Input({ required: true })
|
||||||
public instance!: InstanceDetail;
|
public instance!: InstanceDetail;
|
||||||
|
|
||||||
constructor(
|
constructor(private envService: EnvironmentService) {}
|
||||||
private readonly router: Router,
|
|
||||||
private envService: EnvironmentService,
|
|
||||||
) {}
|
|
||||||
|
|
||||||
protected async setInstance({ id }: InstanceDetail) {
|
protected async setInstance({ id }: InstanceDetail) {
|
||||||
this.instanceChanged.emit(id);
|
this.instanceChanged.emit(id);
|
||||||
await this.router.navigate(['/']);
|
// skip this for now
|
||||||
|
// await this.router.navigate(['/']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user