mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 09:22:34 +00:00
Refactor menu item click
This commit is contained in:
parent
49575f862e
commit
3afa9bbe9a
7 changed files with 8 additions and 13 deletions
|
@ -43,7 +43,7 @@ export default {
|
|||
return;
|
||||
}
|
||||
|
||||
if (!item.url) {
|
||||
if (!item.url && !item.to) {
|
||||
event.preventDefault();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue