From b5b1148383179da4470e5a2b54854a29d2934eee Mon Sep 17 00:00:00 2001 From: kalytka Date: Tue, 22 Aug 2023 12:12:31 +0300 Subject: [PATCH] Update label logic for relation-type-autocomplete --- .../relation/relation-filters.component.html | 2 +- .../relation-type-autocomplete.component.html | 4 ++-- .../relation-type-autocomplete.component.ts | 15 ++++++--------- 3 files changed, 9 insertions(+), 12 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/relation/relation-filters.component.html b/ui-ngx/src/app/modules/home/components/relation/relation-filters.component.html index 57c5ecf621..77b87ced08 100644 --- a/ui-ngx/src/app/modules/home/components/relation/relation-filters.component.html +++ b/ui-ngx/src/app/modules/home/components/relation/relation-filters.component.html @@ -26,7 +26,7 @@
diff --git a/ui-ngx/src/app/shared/components/relation/relation-type-autocomplete.component.html b/ui-ngx/src/app/shared/components/relation/relation-type-autocomplete.component.html index 99a650098e..fd15936a45 100644 --- a/ui-ngx/src/app/shared/components/relation/relation-type-autocomplete.component.html +++ b/ui-ngx/src/app/shared/components/relation/relation-type-autocomplete.component.html @@ -15,9 +15,9 @@ limitations under the License. --> - - {{ label }} + {{ 'relation.relation-type' | translate }} , private broadcast: BroadcastService, public translate: TranslateService, - private fb: UntypedFormBuilder) { + private fb: FormBuilder) { this.relationTypeFormGroup = this.fb.group({ relationType: [null, this.required ? [Validators.required, Validators.maxLength(255)] : [Validators.maxLength(255)]] });