refactoring

This commit is contained in:
mpetrov 2025-03-26 17:20:16 +02:00
parent 609ba690f5
commit 6888f9ed5b
3 changed files with 4 additions and 4 deletions

View File

@ -180,7 +180,7 @@ export class CalculatedFieldArgumentsTableComponent implements ControlValueAcces
ctx, ctx,
{}, {},
{}, {}, true); {}, {}, true);
this.popoverComponent.tbComponentRef.instance.argumentsDataApplied.subscribe((value ) => { this.popoverComponent.tbComponentRef.instance.argumentsDataApplied.subscribe(value=> {
this.popoverComponent.hide(); this.popoverComponent.hide();
if (isExists) { if (isExists) {
this.argumentsFormArray.at(index).setValue(value); this.argumentsFormArray.at(index).setValue(value);

View File

@ -140,7 +140,7 @@ export class CalculatedFieldArgumentPanelComponent implements OnInit, AfterViewI
} }
ngAfterViewInit(): void { ngAfterViewInit(): void {
if (this.argument.refEntityId.id === NULL_UUID) { if (this.argument.refEntityId?.id === NULL_UUID) {
this.entityAutocomplete.selectEntityFormGroup.get('entity').markAsTouched(); this.entityAutocomplete.selectEntityFormGroup.get('entity').markAsTouched();
} }
} }

View File

@ -1000,8 +1000,8 @@
"calculated-field": "calculated field", "calculated-field": "calculated field",
"hint": { "hint": {
"main-limited": "No more than {{msg}} {{entity}} debug messages per {{time}} will be recorded.", "main-limited": "No more than {{msg}} {{entity}} debug messages per {{time}} will be recorded.",
"on-failure": "Log all debug messages.", "on-failure": "Log error messages only.",
"all-messages": "Log error messages only. " "all-messages": "Log all debug messages."
} }
}, },
"calculated-fields": { "calculated-fields": {