rep defecty 35

This commit is contained in:
2025-01-09 12:20:06 +00:00
parent 0b541f8355
commit e79579a2e2
6 changed files with 28 additions and 12 deletions
+4 -2
View File
@@ -7,7 +7,7 @@ import {
View,
} from "@react-pdf/renderer";
import Html from "react-pdf-html";
import { getFormCollectionByID } from "../../components/utils";
import { getFormCollectionByID, bytesToSize } from "../../components/utils";
import transLookupCY from "../../locales/cy/myrepresentations.json";
import transLookupEN from "../../locales/en/myrepresentations.json";
@@ -371,7 +371,9 @@ export const statement_pdf = ({ docProps }) => {
styles.questionTextMid
}
>
{p.name} - {p.size}
{p.name} -{" "}
{bytesToSize(p.size)}{" "}
{"\n"}
</Text>
</View>
);