Quellcode durchsuchen

fix for concurrent create proof an check create

web_access_fix
Jason Chuang vor 1 Woche
Ursprung
Commit
42a8501fd2
2 geänderte Dateien mit 6 neuen und 2 gelöschten Zeilen
  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 Datei anzeigen

@@ -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 Datei anzeigen

@@ -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…
Abbrechen
Speichern