|
@@ -1555,7 +1555,7 @@ const customizationXml = (xmlParse: any) => {
|
|
|
const hasRepeat = xmlParse.querySelectorAll('repeat').length > 0;
|
|
|
if (!hasRepeat) {
|
|
|
const parts = xmlParse.querySelectorAll('score-partwise>part')
|
|
|
- if (parts.length > 1) {
|
|
|
+ if (parts.length) {
|
|
|
for (const part of parts) {
|
|
|
const currentMeasures = part.querySelectorAll('measure').length ? Array.from(part.querySelectorAll('measure')) : [];
|
|
|
const lastMeasure: any = currentMeasures.last();
|