tango-app-api-trax 3.5.1-alpha-1 → 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();
|
|
@@ -3706,7 +3706,7 @@ async function insertPCBulkV4( getCLconfig, checklistId, currentdate, updatedche
|
|
|
3706
3706
|
await processedchecklist.deleteMany( { date_string: insertdata.date_string,
|
|
3707
3707
|
date_iso: insertdata.date_iso,
|
|
3708
3708
|
client_id: insertdata.client_id,
|
|
3709
|
-
checkListId: updatedchecklist._id, checklistStatus: 'open' } );
|
|
3709
|
+
checkListId: updatedchecklist._id, checklistStatus: 'open', redoStatus: false } );
|
|
3710
3710
|
|
|
3711
3711
|
|
|
3712
3712
|
let actionType = 'deleteOpenUsers';
|