From a3c01d3974c8b346b73deb86ce9f5b14a91c9e4b Mon Sep 17 00:00:00 2001 From: ArtemDzhereleiko Date: Fri, 16 Jan 2026 11:42:35 +0200 Subject: [PATCH] UI: Fixed useLatestTs disabled --- .../simple-configuration/simple-configuration.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui-ngx/src/app/modules/home/components/calculated-fields/components/simple-configuration/simple-configuration.component.ts b/ui-ngx/src/app/modules/home/components/calculated-fields/components/simple-configuration/simple-configuration.component.ts index fd2e0783af..7292775055 100644 --- a/ui-ngx/src/app/modules/home/components/calculated-fields/components/simple-configuration/simple-configuration.component.ts +++ b/ui-ngx/src/app/modules/home/components/calculated-fields/components/simple-configuration/simple-configuration.component.ts @@ -200,7 +200,7 @@ export class SimpleConfigurationComponent implements ControlValueAccessor, Valid } private toggleScopeByOutputType(): void { - if (this.isScript || this.simpleConfiguration.get('output').value.type === OutputType.Attribute) { + if (this.isScript || this.simpleConfiguration.get('output').value.type === OutputType.Attribute || this.disabled) { this.simpleConfiguration.get('useLatestTs').disable({emitEvent: false}); } else { this.simpleConfiguration.get('useLatestTs').enable({emitEvent: false});