Skip to content

Commit

Permalink
Enhanced navigation reducer in Volto
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Mar 1, 2024
1 parent fe35958 commit ecd9467
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/volto/news/5772.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Enhanced navigation reducer in Volto @Hrittik20
1 change: 1 addition & 0 deletions packages/volto/src/reducers/navigation/navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ function getRecursiveItems(items) {
title: item.title,
description: item.description,
url: flattenToAppURL(item['@id']),
...item,
...(item.items && { items: getRecursiveItems(item.items) }),
}));
}
Expand Down

0 comments on commit ecd9467

Please sign in to comment.