Fix ApplyAddMethod when method is null
This commit is contained in:
parent
36526dcb27
commit
8aae29d714
1 changed files with 3 additions and 1 deletions
|
@ -461,7 +461,9 @@ function ApplyAddMethod(
|
|||
): number {
|
||||
if (index > 0 && (
|
||||
containerConfig.AddMethod === undefined ||
|
||||
containerConfig.AddMethod === AddMethod.Append)) {
|
||||
containerConfig.AddMethod === null ||
|
||||
containerConfig.AddMethod === AddMethod.Append
|
||||
)) {
|
||||
// Append method (default)
|
||||
const lastChild: IContainerModel | undefined = parent.children
|
||||
.at(index - 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue