From a7e721dbee17914d7b742aef4ffd285df9b60f4e Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Wed, 8 Jul 2026 21:31:25 +0200 Subject: [PATCH] Task/improve copy-to-clipboard in alert dialog (#7281) Improve copy-to-clipboard --- .../user-account-membership.component.ts | 2 +- libs/ui/src/lib/notifications/alert-dialog/alert-dialog.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/client/src/app/components/user-account-membership/user-account-membership.component.ts b/apps/client/src/app/components/user-account-membership/user-account-membership.component.ts index d086867aa..bdf2c3eb6 100644 --- a/apps/client/src/app/components/user-account-membership/user-account-membership.component.ts +++ b/apps/client/src/app/components/user-account-membership/user-account-membership.component.ts @@ -147,7 +147,7 @@ export class GfUserAccountMembershipComponent { .subscribe(({ apiKey }) => { this.notificationService.alert({ copyValue: apiKey, - discardLabel: $localize`Okay`, + discardLabel: $localize`Close`, message: $localize`Set this API key in your self-hosted environment:`, title: $localize`Ghostfolio Premium Data Provider API Key` }); diff --git a/libs/ui/src/lib/notifications/alert-dialog/alert-dialog.html b/libs/ui/src/lib/notifications/alert-dialog/alert-dialog.html index f690a8e5d..f09389680 100644 --- a/libs/ui/src/lib/notifications/alert-dialog/alert-dialog.html +++ b/libs/ui/src/lib/notifications/alert-dialog/alert-dialog.html @@ -8,7 +8,7 @@
} @if (copyValue) { -
{{ copyValue }}
+
{{ copyValue }}
} }