Refactor menu item click

This commit is contained in:
cagataycivici 2019-12-09 10:38:00 +03:00
parent 49575f862e
commit 3afa9bbe9a
7 changed files with 8 additions and 13 deletions

View file

@ -43,7 +43,7 @@ export default {
return;
}
if (!item.url) {
if (!item.url && !item.to) {
event.preventDefault();
}