Fix cover assignment

pull/83/head
MillenniumEarl 2021-03-21 22:00:27 +01:00
parent 66e586df6f
commit dcd9744809
1 changed files with 1 additions and 1 deletions

View File

@ -193,7 +193,7 @@ function fillWithPostData(hw: HandiWork, elements: IPostElement[]) {
?.text?.split(",") ?.text?.split(",")
.map((s) => s.trim()); .map((s) => s.trim());
hw.version = getPostElementByName(elements, "version")?.text; hw.version = getPostElementByName(elements, "version")?.text;
hw.installation = getPostElementByName(elements, "installation")?.content.shift()?.text; hw.installation = getPostElementByName(elements, "installation")?.text;
hw.pages = getPostElementByName(elements, "pages")?.text; hw.pages = getPostElementByName(elements, "pages")?.text;
hw.resolution = getPostElementByName(elements, "resolution") hw.resolution = getPostElementByName(elements, "resolution")
?.text?.split(",") ?.text?.split(",")