pass in locale to questionnaire for welsh version
This commit is contained in:
@@ -289,6 +289,8 @@ const RepCompleteSubmit = (props) => {
|
||||
return;
|
||||
}
|
||||
|
||||
repFormData.locale = router.locale == "cy" ? "cy" : "en";
|
||||
|
||||
const pdfBlob = await generateRepPDF(
|
||||
repFormData,
|
||||
containerID,
|
||||
|
||||
Reference in New Issue
Block a user