fixed bug on description template editor when reordering the inputs

This commit is contained in:
Sofia Papacharalampous 2024-05-15 14:03:37 +03:00
parent c4a757ba36
commit 02d4a1e9d0
1 changed files with 1 additions and 1 deletions

View File

@ -658,7 +658,7 @@ export class DescriptionTemplateEditorCompositeFieldComponent extends BaseCompon
}
move(index, direction: "up" | "down" = "up") {
this.inputs.init();
//this.inputs.init();
if (direction === "up" && this.canGoUp(index)) {
let temp = this.fieldsArray.at(index);
this.fieldsArray.removeAt(index);