From 704a540063cffc780c3a9cf7f1fbbf0fca4bcffc Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Mon, 28 Sep 2026 14:36:51 +0200 Subject: [PATCH] Refactoring --- libs/ui/src/lib/value/value.component.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/ui/src/lib/value/value.component.ts b/libs/ui/src/lib/value/value.component.ts index ab5f6e4cc0..c2c7d4621d 100644 --- a/libs/ui/src/lib/value/value.component.ts +++ b/libs/ui/src/lib/value/value.component.ts @@ -221,12 +221,12 @@ export class GfValueComponent implements AfterViewInit, OnChanges, OnDestroy { this.isString = false; this.useAbsoluteValue = false; - if (this.locale === undefined || this.locale === '') { - this.locale = getLocale(); - } - if (this.copyToClipboardTimeout) { clearTimeout(this.copyToClipboardTimeout); } + + if (this.locale === undefined || this.locale === '') { + this.locale = getLocale(); + } } }