|
if (textObj.options.bullet.type) { |
|
if (textObj.options.bullet.type.toString().toLowerCase() === 'number') { |
These two lines should be a single if condition. At the moment, the first condition checks if the type field is present, so if it's set, the entire rest of the if/else tree is skipped. However, it only actually does anything if it's set to "number". Setting type to "bullet" means the entire if/else tree is skipped and nothing is outputted.
PptxGenJS/src/gen-xml.ts
Lines 890 to 891 in 3c9ec1b
These two lines should be a single
ifcondition. At the moment, the first condition checks if thetypefield is present, so if it's set, the entire rest of the if/else tree is skipped. However, it only actually does anything if it's set to"number". Settingtypeto"bullet"means the entire if/else tree is skipped and nothing is outputted.