diff --git a/geonode_mapstore_client/client/js/components/Menu/DropdownList.jsx b/geonode_mapstore_client/client/js/components/Menu/DropdownList.jsx index 6e798284b5..2e3ccd34d5 100644 --- a/geonode_mapstore_client/client/js/components/Menu/DropdownList.jsx +++ b/geonode_mapstore_client/client/js/components/Menu/DropdownList.jsx @@ -26,7 +26,16 @@ const itemElement = ({ labelId, href, badge, target }) => ( >); -const itemsList = (items) => ( items && items.map(({ labelId, href, badge, target }) => itemElement({ labelId, href, badge, target }))); +const itemsList = (items) => (items && items.map((item) => { + + const { labelId, href, badge, target, type, Component, className } = item; + + if (type === 'plugin' && Component) { + return (