tango-app-api-trax 3.5.1-alpha-2 → 3.5.1-alpha-3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -624,7 +624,7 @@ export async function sopMobilechecklistQuestionValidatorv1( req, res, next ) {
|
|
|
624
624
|
} );
|
|
625
625
|
if ( validationCount && requestData.submittype == 'submit' ) {
|
|
626
626
|
return res.sendError( 'Please Fill all Required Fields', 400 );
|
|
627
|
-
} else if ( errorCount ) {
|
|
627
|
+
} else if ( errorCount && !requestData?.editSubmit ) {
|
|
628
628
|
return res.sendError( 'Checklist got edited.please contact admin', 400 );
|
|
629
629
|
} else {
|
|
630
630
|
next();
|