From 65de0ae9874b1889ae29541496556ed9de84b0bc Mon Sep 17 00:00:00 2001 From: KenTandrian Date: Sat, 4 Jul 2026 19:52:34 +0700 Subject: [PATCH] fix(client): fallback api key to empty string --- apps/client/src/app/pages/api/api-page.component.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/client/src/app/pages/api/api-page.component.ts b/apps/client/src/app/pages/api/api-page.component.ts index b949cfb0f9..b9e921f9ec 100644 --- a/apps/client/src/app/pages/api/api-page.component.ts +++ b/apps/client/src/app/pages/api/api-page.component.ts @@ -59,7 +59,8 @@ export class GfApiPageComponent implements OnInit { ) {} public ngOnInit() { - this.apiKey = prompt($localize`Please enter your Ghostfolio API key:`); + this.apiKey = + prompt($localize`Please enter your Ghostfolio API key:`) ?? ''; this.aiServiceHealth$ = this.fetchAiServiceHealth(); this.assetProfile$ = this.fetchAssetProfile({ symbol: 'AAPL' });