Skip to content

Commit

Permalink
Merge pull request #2 from hom/fix/#2082
Browse files Browse the repository at this point in the history
  • Loading branch information
hom authored Oct 26, 2023
2 parents f9d1c19 + 379050d commit 3d6ead0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 24 deletions.
22 changes: 0 additions & 22 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@
},
"homepage": "https://docx.js.org",
"devDependencies": {
"@esbuild/win32-x64": "^0.18.3",
"@types/inquirer": "^9.0.3",
"@types/prompt": "^1.1.1",
"@types/unzipper": "^0.10.4",
Expand Down
3 changes: 2 additions & 1 deletion src/file/numbering/numbering.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ export class Numbering extends XmlComponent {
abstractNumId: abstractNumbering.id,
reference,
instance,
overrideLevel:
overrideLevels: [
firstLevelStartNumber && Number.isInteger(firstLevelStartNumber)
? {
num: 0,
Expand All @@ -226,6 +226,7 @@ export class Numbering extends XmlComponent {
num: 0,
start: 1,
},
],
};

this.concreteNumberingMap.set(fullReference, new ConcreteNumbering(concreteNumberingSettings));
Expand Down

0 comments on commit 3d6ead0

Please sign in to comment.