Browse Source

fix create proof bug

CR003
Anna Ho 1 year ago
parent
commit
ef73acfeb3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/pages/Proof/Create_FromApp/ProofForm.js

+ 1
- 1
src/pages/Proof/Create_FromApp/ProofForm.js View File

@@ -139,7 +139,7 @@ const FormPanel = ({ formData }) => {
return;
}
if(formik.values.groupType == "Private Bill" ){
if (!noOfPages || noOfPages <= 0) {
if (!values.noOfPages || values.noOfPages <= 0) {
setWarningText("Page should > 0");
setIsWarningPopUp(true);
setSaving(false);


Loading…
Cancel
Save