diff --git a/lib/assets/data/menu.json b/lib/assets/data/menu.json index 23b0446..a6fe0f9 100644 --- a/lib/assets/data/menu.json +++ b/lib/assets/data/menu.json @@ -2,32 +2,32 @@ "menuItems": [ { "text": "Services", - "groupImageUrl": "https://raw.githubusercontent.com/SSWConsulting/SSW.MegaMenu/main/lib/assets/images/Menu-Banner-Services.png", + "groupImageUrlWeb": "https://raw.githubusercontent.com/SSWConsulting/SSW.MegaMenu/main/lib/assets/images/Menu-Banner-Services.png", "children": [] }, { "text": "Products", - "groupImageUrl": "https://raw.githubusercontent.com/SSWConsulting/SSW.MegaMenu/main/lib/assets/images/Menu-Banner-Products.png", + "groupImageUrlWeb": "https://raw.githubusercontent.com/SSWConsulting/SSW.MegaMenu/main/lib/assets/images/Menu-Banner-Products.png", "children": [] }, { "text": "Training", - "groupImageUrl": "https://raw.githubusercontent.com/SSWConsulting/SSW.MegaMenu/main/lib/assets/images/Menu-Banner-Training.png", + "groupImageUrlWeb": "https://raw.githubusercontent.com/SSWConsulting/SSW.MegaMenu/main/lib/assets/images/Menu-Banner-Training.png", "children": [] }, { "text": "User Group", - "groupImageUrl": "https://raw.githubusercontent.com/SSWConsulting/SSW.MegaMenu/main/lib/assets/images/Menu-Banner-UserGroup.png", + "groupImageUrlWeb": "https://raw.githubusercontent.com/SSWConsulting/SSW.MegaMenu/main/lib/assets/images/Menu-Banner-UserGroup.png", "children": [] }, { "text": "Rules", - "groupImageUrl": "https://raw.githubusercontent.com/SSWConsulting/SSW.MegaMenu/main/lib/assets/images/Menu-Banner-Standards.png", + "groupImageUrlWeb": "https://raw.githubusercontent.com/SSWConsulting/SSW.MegaMenu/main/lib/assets/images/Menu-Banner-Standards.png", "children": [] }, { "text": "About Us", - "groupImageUrl": "https://raw.githubusercontent.com/SSWConsulting/SSW.MegaMenu/main/lib/assets/images/Menu-Banner-AboutUs.png", + "groupImageUrlWeb": "https://raw.githubusercontent.com/SSWConsulting/SSW.MegaMenu/main/lib/assets/images/Menu-Banner-AboutUs.png", "children": [] }, { diff --git a/lib/components/menu/index.jsx b/lib/components/menu/index.jsx index 2a847d1..347cad7 100644 --- a/lib/components/menu/index.jsx +++ b/lib/components/menu/index.jsx @@ -67,7 +67,7 @@ const parseMenuData = (menuData) => { menuItems: menuData.menuItems.map((menuItem) => { return { ...menuItem, - src: menuItem.groupImageUrl, + src: menuItem.groupImageUrlWeb, }; }), } diff --git a/package.json b/package.json index dcb6f90..e559ff0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ssw.megamenu", - "version": "3.2.2", + "version": "3.2.3", "files": [ "dist", "types",