Skip to content

Commit

Permalink
Merge pull request #5342 from nextcloud-libraries/varun/listitem
Browse files Browse the repository at this point in the history
NcListItem: don't explicitly set location
  • Loading branch information
ShGKme authored Mar 8, 2024
2 parents 6d5815f + 5c4bb63 commit 4bb2677
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/components/NcListItem/NcListItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,6 @@
@focus="showActions"
@focusout="handleBlur"
@click="onClick($event, navigate, routerLinkHref)"
@keydown.enter="onClick($event, navigate, routerLinkHref)"
@keydown.esc="hideActions">
<!-- @slot This slot is used for the NcAvatar or icon, the content of this slot must not be interactive -->
<slot name="icon" />
Expand Down Expand Up @@ -658,8 +657,6 @@ export default {
if (routerLinkHref) {
navigate?.(event)
event.preventDefault()
} else {
window.location = this.href
}
},

Expand Down

0 comments on commit 4bb2677

Please sign in to comment.