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