Added API keys. Minor modifications for other views.
This commit is contained in:
@ -52,7 +52,7 @@ export class ImpersonationComponent implements OnInit {
|
||||
.subscribe(async _ =>
|
||||
await setTimeout(async () =>
|
||||
await this.router.navigate([url.substring(1)]), 500));
|
||||
this.keyService.fetch(true)
|
||||
this.keyService.fetch()
|
||||
.pipe(timeout(3000), first())
|
||||
.subscribe(async (d: ApiKey[]) => {
|
||||
if (d.length > 0)
|
||||
|
@ -39,7 +39,7 @@ export class TtsLoginComponent implements OnInit, OnDestroy {
|
||||
this.subscriptions.push(this.events.listen('impersonation', _ => {
|
||||
this.selected_api_key = undefined;
|
||||
|
||||
this.keyService.fetch(true)
|
||||
this.keyService.fetch()
|
||||
.pipe(timeout(3000), first())
|
||||
.subscribe(d => this.api_keys = d);
|
||||
}));
|
||||
|
Reference in New Issue
Block a user