From fc3f2daec0d18381dc824fd561a6950961b0ef50 Mon Sep 17 00:00:00 2001 From: tykayn <15d65f2f-0b14-4f70-bf34-e130180ed62b@users.tedomum.net> Date: Thu, 10 Feb 2022 12:02:21 +0100 Subject: [PATCH] copy button default show text Signed-off-by: tykayn <15d65f2f-0b14-4f70-bf34-e130180ed62b@users.tedomum.net> --- .../shared/components/ui/copy-text/copy-text.component.html | 5 ++--- .../shared/components/ui/copy-text/copy-text.component.ts | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/app/shared/components/ui/copy-text/copy-text.component.html b/src/app/shared/components/ui/copy-text/copy-text.component.html index c4265506..c63a7e8e 100644 --- a/src/app/shared/components/ui/copy-text/copy-text.component.html +++ b/src/app/shared/components/ui/copy-text/copy-text.component.html @@ -1,7 +1,6 @@ - diff --git a/src/app/shared/components/ui/copy-text/copy-text.component.ts b/src/app/shared/components/ui/copy-text/copy-text.component.ts index 13bc2ed7..ae3cd96f 100644 --- a/src/app/shared/components/ui/copy-text/copy-text.component.ts +++ b/src/app/shared/components/ui/copy-text/copy-text.component.ts @@ -11,7 +11,7 @@ import { ToastService } from '../../../../core/services/toast.service'; export class CopyTextComponent implements OnInit { @Input() public textToCopy: string; public displayContentToCopy = false; - @Input() public displayLabelButton = false; + @Input() public displayLabelButton = true; constructor(private _clipboardService: ClipboardService, private toastService: ToastService) {}