ui-soxo-bootstrap-core 2.6.46-dev.2 → 2.6.46-dev.3
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.
|
@@ -379,16 +379,6 @@ export const ExportReactCSV = ({
|
|
|
379
379
|
drawDataRow(row);
|
|
380
380
|
});
|
|
381
381
|
|
|
382
|
-
if (!csvData?.length) {
|
|
383
|
-
page.drawText('No records found', {
|
|
384
|
-
x: margin,
|
|
385
|
-
y: y + 1,
|
|
386
|
-
size: fontSize,
|
|
387
|
-
font,
|
|
388
|
-
color: rgb(0.12, 0.12, 0.12),
|
|
389
|
-
});
|
|
390
|
-
}
|
|
391
|
-
|
|
392
382
|
const pdfBytes = await pdfDoc.save();
|
|
393
383
|
const blob = new Blob([pdfBytes], { type: 'application/pdf' });
|
|
394
384
|
const flName = downloadFileName || pdfFileName || fileName || 'Report.pdf';
|