Skip to content

Commit

Permalink
Update src/components/NcAppNavigationItem/NcAppNavigationItem.vue
Browse files Browse the repository at this point in the history
Co-authored-by: Ferdinand Thiessen <[email protected]>
Signed-off-by: Grigory Vodyanov <[email protected]>
  • Loading branch information
GVodyanov and susnux authored Oct 7, 2024
1 parent 7c0f09d commit 3a2f22f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/NcAppNavigationItem/NcAppNavigationItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,7 @@ export default {
// If no links are defined, and collapsing is enabled, we want it to collapse
if (this.to === null && this.href === null && this.collapsible === true) {
this.open = !this.open
this.toggleCollapse()
event.preventDefault()
}
// Do not navigate with control keys - it is opening in a new tab
Expand Down

0 comments on commit 3a2f22f

Please sign in to comment.