error checking on pdf

This commit is contained in:
2024-05-13 16:52:25 +01:00
parent c94e61196a
commit 62e8179e3a
6 changed files with 61 additions and 73 deletions
+3 -4
View File
@@ -226,9 +226,8 @@ export const finalComments_pdf = ({ docProps }) => {
</Text>
<Text style={styles.questionAnswer}>
<Html style={styles.richArea}>
{
values.conditional_representationCapacity_Comments
}
{values.conditional_representationCapacity_Comments ||
""}
</Html>
</Text>
</View>
@@ -319,7 +318,7 @@ export const finalComments_pdf = ({ docProps }) => {
</View>
<View style={styles.questionAnswerWide}>
<Html style={styles.richArea}>
{values.representationComments}
{values.representationComments || ""}
</Html>
</View>
</View>