Browse Source

UI: Fixed useLatestTs disabled

pull/14833/head
ArtemDzhereleiko 5 months ago
committed by Vladyslav Prykhodko
parent
commit
a3c01d3974
  1. 2
      ui-ngx/src/app/modules/home/components/calculated-fields/components/simple-configuration/simple-configuration.component.ts

2
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});

Loading…
Cancel
Save