Procházet zdrojové kódy

fix for concurrent create proof an check create

web_access_fix
Jason Chuang před 1 týdnem
rodič
revize
42a8501fd2
2 změnil soubory, kde provedl 6 přidání a 2 odebrání
  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 Zobrazit soubor

@@ -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 Zobrazit soubor

@@ -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);


Načítá se…
Zrušit
Uložit