Über Open CoDE Software Wiki Diskussionen GitLab

Skip to content
Commits on Source (2)
## [1.5.1](https://gitlab.opencode.de/bmi/opendesk/components/platform-development/images/opendesk-notes/compare/v1.5.0...v1.5.1) (2024-12-18)
### Bug Fixes
* **app:** 🐛 Fixed openDesk Logo linking to portal ([bdbe36b](https://gitlab.opencode.de/bmi/opendesk/components/platform-development/images/opendesk-notes/commit/bdbe36bb535e2be837debc88eaa555342f058faa))
# [1.5.0](https://gitlab.opencode.de/bmi/opendesk/components/platform-development/images/opendesk-notes/compare/v1.4.0...v1.5.0) (2024-12-18)
......
......@@ -124,6 +124,11 @@ const CentralMenu = () => {
// replace linkElements href
if (linkElement && BASE_URL_PORTAL) {
linkElement.setAttribute('href', BASE_URL_PORTAL);
// Override React Router's preventDefault...
linkElement.addEventListener('click', (event) => {
event.preventDefault();
window.location.href = BASE_URL_PORTAL;
});
}
}, []);
......