Skip to content

Commit

Permalink
fix: TypeError: this.$refs.actions.$refs.menuButton is undefined
Browse files Browse the repository at this point in the history
Signed-off-by: Wolfgang <github@linux-dude.de>
  • Loading branch information
wofferl committed Nov 16, 2024
1 parent 5c88fe9 commit 2e1f069
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/NcAppNavigationItem/NcAppNavigationItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -753,10 +753,10 @@ export default {
}
if (this.focused) {
e.preventDefault()
this.$refs.actions.$refs.menuButton.$el.focus()
this.$refs.actions.$refs.triggerButton.$el.focus()
this.focused = false
} else {
this.$refs.actions.$refs.menuButton.$el.blur()
this.$refs.actions.$refs.triggerButton.$el.blur()
}
},
Expand Down

0 comments on commit 2e1f069

Please sign in to comment.