Fixes level removal in terms list hierarchical.
This commit is contained in:
parent
d7c2100116
commit
cf00e20d8f
|
@ -602,7 +602,7 @@ export default {
|
||||||
this.termColumns[removedTermParentColumn - 1].children[parentTermIndex].total_children = Number(this.termColumns[removedTermParentColumn].total_children);
|
this.termColumns[removedTermParentColumn - 1].children[parentTermIndex].total_children = Number(this.termColumns[removedTermParentColumn].total_children);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.removeLevelsAfterIndex(removedTermParentColumn);
|
this.removeLevelsAfterIndex(removedTermParentColumn - 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue