add values checks to remaining file/table code
This commit is contained in:
@ -39,8 +39,8 @@ export class Shading extends XmlComponent {
|
||||
super("w:shd");
|
||||
this.root.push(
|
||||
new ShadingAttributes({
|
||||
fill: fill === undefined ? fill : hexColorValue(fill),
|
||||
color: color === undefined ? color : hexColorValue(color),
|
||||
fill: fill === undefined ? undefined : hexColorValue(fill),
|
||||
color: color === undefined ? undefined : hexColorValue(color),
|
||||
val,
|
||||
}),
|
||||
);
|
||||
|
Reference in New Issue
Block a user