description-editor > description-template >bug fix on

This commit is contained in:
Sofia Papacharalampous 2024-04-25 10:41:40 +03:00
parent 23d656c401
commit e9fa56f5c9
1 changed files with 2 additions and 2 deletions

View File

@ -35,8 +35,8 @@ export class DescriptionBaseFieldsEditorComponent extends BaseComponent {
this.loadDescriptionTemplates();
}
public compareWith(object1: any, object2: any) {
return object1 && object2 && object1.id === object2.id;
public compareWith(value1: string, value2: string): boolean {
return value1 && value2 && value1 === value2;
}
private loadDescriptionTemplates(): void {