diff --git a/src/app/shared/components/institution-hierarchy/institution-hierarchy.component.html b/src/app/shared/components/institution-hierarchy/institution-hierarchy.component.html index df4b95f31e..a6d27f1e64 100644 --- a/src/app/shared/components/institution-hierarchy/institution-hierarchy.component.html +++ b/src/app/shared/components/institution-hierarchy/institution-hierarchy.component.html @@ -5,8 +5,8 @@ [formControl]="instituitionIdFormControl" disableOptionCentering panelClass="dropdown-panel" - class="step-input" - [compareWith]="compareInstitutions"> + placeholder="Оберіть підпорядкування" + class="step-input"> {{ institution.title }} diff --git a/src/app/shared/components/institution-hierarchy/institution-hierarchy.component.ts b/src/app/shared/components/institution-hierarchy/institution-hierarchy.component.ts index 7c78b5dd28..b8d8485dca 100644 --- a/src/app/shared/components/institution-hierarchy/institution-hierarchy.component.ts +++ b/src/app/shared/components/institution-hierarchy/institution-hierarchy.component.ts @@ -58,10 +58,6 @@ export class InstitutionHierarchyComponent implements OnInit, OnDestroy { } } - compareInstitutions(institution1: Institution, institution2: Institution): boolean { - return institution1.id === institution2.id; - } - private setInitialInstitution(): void { const institutionId = this.editMode ? this.instituitionIdFormControl.value : this.provider.institution?.id; if (institutionId) {