Skip to content

Commit

Permalink
Fix #5785: Menu URL handling (#5792)
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware authored Jan 17, 2024
1 parent 8e27923 commit f27f8fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/lib/menu/Menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ export const Menu = React.memo(
return;
}

if (!item.url) {
event.preventDefault();
if (item.url) {
return;
}

if (item.command) {
Expand Down

0 comments on commit f27f8fe

Please sign in to comment.