Increase evidence size from 10 to 20
Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
@@ -98,7 +98,7 @@ function EvidenceUpload({ measureId, connectionId }: Omit<Props, "ref">) {
|
|||||||
<DialogContent padded>
|
<DialogContent padded>
|
||||||
<Dropzone
|
<Dropzone
|
||||||
description={__(
|
description={__(
|
||||||
"Only PDF, DOCX, XLSX, PPTX, JPG, PNG, WEBP, URI files up to 10MB are allowed",
|
"Only PDF, DOCX, XLSX, PPTX, JPG, PNG, WEBP, URI files up to 10MB are allowed"
|
||||||
)}
|
)}
|
||||||
isUploading={isUpdating}
|
isUploading={isUpdating}
|
||||||
onDrop={handleDrop}
|
onDrop={handleDrop}
|
||||||
@@ -115,7 +115,7 @@ function EvidenceUpload({ measureId, connectionId }: Omit<Props, "ref">) {
|
|||||||
"image/png": [".png"],
|
"image/png": [".png"],
|
||||||
"image/webp": [".webp"],
|
"image/webp": [".webp"],
|
||||||
}}
|
}}
|
||||||
maxSize={10}
|
maxSize={20}
|
||||||
/>
|
/>
|
||||||
</DialogContent>
|
</DialogContent>
|
||||||
</>
|
</>
|
||||||
@@ -136,7 +136,7 @@ function EvidenceLink({ measureId, connectionId, ref }: Props) {
|
|||||||
name: "",
|
name: "",
|
||||||
url: "",
|
url: "",
|
||||||
},
|
},
|
||||||
},
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
const [mutate] = useMutationWithToasts(uploadEvidenceMutation, {
|
const [mutate] = useMutationWithToasts(uploadEvidenceMutation, {
|
||||||
|
|||||||
Reference in New Issue
Block a user