forked from sheetjs/sheetjs
XLSX !protect check on write [ci skip]
This commit is contained in:
parent
a7405c4a55
commit
4d00394678
@ -577,7 +577,7 @@ function write_ws_xml(idx/*:number*/, opts, wb/*:Workbook*/, rels)/*:string*/ {
|
||||
|
||||
/* sheetCalcPr */
|
||||
|
||||
if(ws['!protect'] != null) o[o.length] = write_ws_xml_protection(ws['!protect']);
|
||||
if(ws['!protect']) o[o.length] = write_ws_xml_protection(ws['!protect']);
|
||||
|
||||
/* protectedRanges */
|
||||
/* scenarios */
|
||||
|
Loading…
Reference in New Issue
Block a user