[v11.2.x] Bookmarks: Fix interaction tracking bug (#92694)
This commit is contained in:
@@ -48,12 +48,13 @@ export const MegaMenu = memo(
|
||||
if (!item) {
|
||||
return acc;
|
||||
}
|
||||
acc.push({
|
||||
const newItem = {
|
||||
id: item.id,
|
||||
text: item.text,
|
||||
url: item.url,
|
||||
parentItem: { id: 'bookmarks', text: 'Bookmarks' },
|
||||
});
|
||||
};
|
||||
acc.push(enrichWithInteractionTracking(newItem, state.megaMenuDocked));
|
||||
return acc;
|
||||
}, []);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user