@secondstaxorg/sscomp 1.9.77 → 1.9.78
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -9
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -32274,7 +32274,7 @@ const DocumentViewer = (props) => {
|
|
|
32274
32274
|
setShowDoc(true);
|
|
32275
32275
|
return
|
|
32276
32276
|
}
|
|
32277
|
-
if (data.type == 'multipart/form-data' || data.type
|
|
32277
|
+
if (data.type == 'multipart/form-data' || data.type.includes('application')){
|
|
32278
32278
|
reactPdf.pdfjs.getDocument(files[currDoc].fileUrl).promise.then((doc)=>{
|
|
32279
32279
|
setShowDoc(true);
|
|
32280
32280
|
setPdfDoc(doc);
|