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();
|
this.loadDescriptionTemplates();
|
||||||
}
|
}
|
||||||
|
|
||||||
public compareWith(object1: any, object2: any) {
|
public compareWith(value1: string, value2: string): boolean {
|
||||||
return object1 && object2 && object1.id === object2.id;
|
return value1 && value2 && value1 === value2;
|
||||||
}
|
}
|
||||||
|
|
||||||
private loadDescriptionTemplates(): void {
|
private loadDescriptionTemplates(): void {
|
||||||
|
|
Loading…
Reference in New Issue