tango-app-api-trax 3.9.48 → 3.9.49

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.9.48",
3
+ "version": "3.9.49",
4
4
  "description": "Trax",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -1635,9 +1635,11 @@ export const flagChecklistTableV1 = async ( req, res ) => {
1635
1635
  'Store Id': element?.storeId,
1636
1636
  // 'Store Spoc Email': element?.SpocEmail,
1637
1637
  'Detections': element?.detections,
1638
- 'Detection Status': element?.detectionStatus,
1638
+ ...( reqestData.ChecklistType != 'activitymonitoring' && { 'Detection Status': element?.detectionStatus } ),
1639
1639
  ...( element?.detectionType !== undefined && { 'Detection Type': element.detectionType } ),
1640
1640
  ...( element?.downtime !== undefined && { 'Downtime': element.downtime } ),
1641
+ ...( element?.downtime !== undefined && { 'Downtime': element.downtime } ),
1642
+ ...( element?.footfall !== undefined && { 'Footfall': element.footfall } ),
1641
1643
  } );
1642
1644
  } );
1643
1645
  }