fix: open newtab when using middle mouse button in tag overview

This commit is contained in:
Roman Karwacik 2024-04-26 08:22:11 +02:00
parent f1161aed59
commit 0e48fb7809

View File

@ -129,6 +129,7 @@
)
v-card.radius-7(
@click='goTo(item)'
@mousedown.middle='goToNewTab(item)'
style='height:100%;'
:class='$vuetify.theme.dark ? `grey darken-4` : ``'
)
@ -295,6 +296,9 @@ export default {
},
goTo (page) {
window.location.assign(`/${page.locale}/${page.path}`)
},
goToNewTab (page) {
window.open(`/${page.locale}/${page.path}`)
}
},
apollo: {