questionnaire defect 21, rep defect 30,11

This commit is contained in:
2025-01-07 06:56:06 +00:00
parent 893136addc
commit 29d8090630
5 changed files with 30 additions and 6 deletions
@@ -1132,8 +1132,11 @@ export const RenderFileUpload = (field) => {
"/" +
(typeof field.filenamePrefix != "object"
? field.filenamePrefix
: field.filenamePrefix.representationForm
.values.repfile_name)
: encodeURIComponent(
field.filenamePrefix
.representationForm.values
.repfile_name
))
).then((data) => {
data = data.value || {};
field.input.value == null;
@@ -1265,7 +1268,12 @@ export const RenderFileUpload = (field) => {
"/api/file/downloadblob?container=" +
field.containerID +
"&casefolderID=" +
field.ticketnumber +
encodeURIComponent(
field.ticketnumber +
"/" +
field.filenamePrefix.representationForm
.values.repfile_name
) +
"&blobname=" +
blob.name +
blob.hashedfilepath