description-editor > description-template >bug fix on
This commit is contained in:
parent
23d656c401
commit
e9fa56f5c9
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue