Skip to content

Commit

Permalink
Merge branch 'main' into bug_48224_icone_blocco_numeri_non_si_aggiornano
Browse files Browse the repository at this point in the history
  • Loading branch information
sabrina-bongiovanni committed Nov 14, 2023
2 parents 85275d4 + 9fc0a24 commit 428617f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
### Fix

- Le icone del Blocco Numeri e della Sidebar si aggiornano istantaneamente quando vengono cambiate
- Sistemato un bug nell'header dei sottositi che mostrava le voci del menu del sito padre anche se queste erano indicate come non visibili nella configurazione del menu.

## Versione 10.3.0 (08/11/2023)

Expand Down
3 changes: 2 additions & 1 deletion src/components/ItaliaTheme/Header/ParentSiteMenu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ const ParentSiteMenu = () => {
// eslint-disable-next-line no-loop-func
dropdownMenu.forEach((m) => {
if (m.rootPath === s) {
menu = m;
// Filter non visible dropdown menu entries
menu = { ...m, items: m.items.filter((mi) => mi.visible) };
i = 0;
}
});
Expand Down

0 comments on commit 428617f

Please sign in to comment.