Fixes level removal in terms list hierarchical.

This commit is contained in:
mateuswetah 2023-05-15 10:51:07 -03:00
parent d7c2100116
commit cf00e20d8f
1 changed files with 2 additions and 2 deletions

View File

@ -602,7 +602,7 @@ export default {
this.termColumns[removedTermParentColumn - 1].children[parentTermIndex].total_children = Number(this.termColumns[removedTermParentColumn].total_children);
}
this.removeLevelsAfterIndex(removedTermParentColumn);
this.removeLevelsAfterIndex(removedTermParentColumn - 1);
}
}
},