Bladeren bron

fix for concurrent create proof an check create

web_access_fix
Jason Chuang 1 week geleden
bovenliggende
commit
42a8501fd2
2 gewijzigde bestanden met toevoegingen van 6 en 2 verwijderingen
  1. +3
    -1
      src/pages/Proof/Create_FromApp/ProofForm.js
  2. +3
    -1
      src/pages/PublicNotice/Details_GLD/ApplicationDetailCard.js

+ 3
- 1
src/pages/Proof/Create_FromApp/ProofForm.js Bestand weergeven

@@ -168,7 +168,9 @@ const FormPanel = ({ formData }) => {
if (msg === "haveActiveProof") {
msg = "Action Failed: There is already a pending payment and proofreading record for client review."
} else if (msg === "haveProofed") {
msg = "Action Failed: Already proofed."
msg = "Action Failed: An active proof is already created for this application."
} else if (msg === "applicationNotFound") {
msg = "Application not found."
}
setWarningText(msg);
setIsWarningPopUp(true);


+ 3
- 1
src/pages/PublicNotice/Details_GLD/ApplicationDetailCard.js Bestand weergeven

@@ -190,7 +190,9 @@ const ApplicationDetailCard = (
if (msg === "haveActiveProof") {
msg = "Action Failed: There is already a pending payment and proofreading record for client review."
} else if (msg === "haveProofed") {
msg = "Action Failed: Already proofed."
msg = "Action Failed: An active proof is already created for this application."
} else if (msg === "applicationNotFound") {
msg = "Application not found."
}
setWarningText(msg);
setIsWarningPopUp(true);


Laden…
Annuleren
Opslaan