From b14d49a3e719c5032926430124dbbb6cd86ee53c Mon Sep 17 00:00:00 2001 From: KenTandrian Date: Sun, 27 Sep 2026 23:33:16 +0700 Subject: [PATCH] resolve comments --- libs/ui/src/lib/value/value.component.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libs/ui/src/lib/value/value.component.ts b/libs/ui/src/lib/value/value.component.ts index 5e25de03ef..ab5f6e4cc0 100644 --- a/libs/ui/src/lib/value/value.component.ts +++ b/libs/ui/src/lib/value/value.component.ts @@ -219,9 +219,12 @@ export class GfValueComponent implements AfterViewInit, OnChanges, OnDestroy { this.isCopied = false; this.isNumber = false; this.isString = false; - this.locale = this.locale ?? getLocale(); this.useAbsoluteValue = false; + if (this.locale === undefined || this.locale === '') { + this.locale = getLocale(); + } + if (this.copyToClipboardTimeout) { clearTimeout(this.copyToClipboardTimeout); }