tango-app-api-trax 3.8.20-nike → 3.8.21-nike

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tango-app-api-trax",
3
- "version": "3.8.20-nike",
3
+ "version": "3.8.21-nike",
4
4
  "description": "Trax",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -2221,7 +2221,9 @@ export async function submitChecklist( req, res ) {
2221
2221
  let flagCount = QuestionFlag( req, res );
2222
2222
  updateData.questionFlag = flagCount;
2223
2223
  updateData.submitTime_string = currentDateTime.format( 'hh:mm A, DD MMM YYYY' );
2224
- updateData.redoEdit = false;
2224
+ if ( getchecklist?.[0]?.redoEdit != undefined ) {
2225
+ updateData.redoEdit = false;
2226
+ }
2225
2227
  if ( requestData.deviceDetails && requestData.deviceDetails != '' ) {
2226
2228
  updateData.deviceDetails =JSON.parse( requestData.deviceDetails );
2227
2229
  }