tango-app-api-store-builder 1.1.8 → 1.1.9

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-store-builder",
3
- "version": "1.1.8",
3
+ "version": "1.1.9",
4
4
  "description": "storeBuilder",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -3536,7 +3536,8 @@ export async function shelfProduct( req, res ) {
3536
3536
 
3537
3537
  if ( req.body?.compliance ) {
3538
3538
  // const getFixtureDetails = allFixtures.filter( ( ele ) => ele._id.toString() == fixture._id.toString() );
3539
- const getAllFixtures = allFixtures.flatMap( ( shelf ) => shelf.shelfConfig );
3539
+ const getAllFixtures = allFixtures.flatMap( ( shelf ) => shelf.shelfConfig.filter( ( ele ) => ele.shelfType !='vmonly' ) );
3540
+
3540
3541
 
3541
3542
  shelfMapping = getAllFixtures.reduce( ( acc, ele ) => {
3542
3543
  let productList = ele.productBrandName?.toString()?.toLowerCase();