Skip to content

Commit

Permalink
Added new key for URL path
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry-Ross committed Sep 15, 2023
1 parent dc62814 commit 6d3459e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions lib/assets/data/menu.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": []
},
{
Expand Down
2 changes: 1 addition & 1 deletion lib/components/menu/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const parseMenuData = (menuData) => {
menuItems: menuData.menuItems.map((menuItem) => {
return {
...menuItem,
src: menuItem.groupImageUrl,
src: menuItem.groupImageUrlWeb,
};
}),
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ssw.megamenu",
"version": "3.2.2",
"version": "3.2.3",
"files": [
"dist",
"types",
Expand Down

0 comments on commit 6d3459e

Please sign in to comment.