more
This commit is contained in:
@@ -88,8 +88,10 @@ const UploadModal = (props) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function uploadFile(file) {
|
async function uploadFile(file) {
|
||||||
|
console.log("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~radioValue", radioValue);
|
||||||
try {
|
try {
|
||||||
if (radioValue === "discovery-request") {
|
if (radioValue === "discovery-request") {
|
||||||
|
console.log("hit radio if");
|
||||||
const response = await fetch(`${apiUrl}/v1/gen-disc-request`, {
|
const response = await fetch(`${apiUrl}/v1/gen-disc-request`, {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
body: file,
|
body: file,
|
||||||
@@ -204,7 +206,7 @@ const UploadModal = (props) => {
|
|||||||
document type. (the other fields are optional.)
|
document type. (the other fields are optional.)
|
||||||
</p>
|
</p>
|
||||||
<p className="upload-modal-header-text red">
|
<p className="upload-modal-header-text red">
|
||||||
<span className="upload-header-bold">
|
<span className="upload-header-text">
|
||||||
<ExclamationTriangle
|
<ExclamationTriangle
|
||||||
style={{
|
style={{
|
||||||
color: "red",
|
color: "red",
|
||||||
@@ -216,8 +218,8 @@ const UploadModal = (props) => {
|
|||||||
discovery requests.
|
discovery requests.
|
||||||
</span>
|
</span>
|
||||||
</p>
|
</p>
|
||||||
<p className="upload-modal-header-text red">
|
<p className="upload-modal-header-text red right">
|
||||||
Incorrect selection will result in errors but 1 document credit will
|
Incorrect selection will result in errors. Document credit will
|
||||||
still be debited from your account
|
still be debited from your account
|
||||||
</p>
|
</p>
|
||||||
<p className="upload-modal-header-text">
|
<p className="upload-modal-header-text">
|
||||||
|
|||||||
@@ -25,6 +25,10 @@
|
|||||||
&.red {
|
&.red {
|
||||||
color: red;
|
color: red;
|
||||||
}
|
}
|
||||||
|
&.right {
|
||||||
|
margin-top: -7px;
|
||||||
|
margin-left: 23px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.upload-header-bold {
|
.upload-header-bold {
|
||||||
|
|||||||
Reference in New Issue
Block a user