瀏覽代碼

fix for concurrent create proof an check create

web_access_fix
Jason Chuang 1 周之前
父節點
當前提交
42a8501fd2
共有 2 個檔案被更改,包括 6 行新增2 行删除
  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 查看文件

@@ -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 查看文件

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


Loading…
取消
儲存