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

pull/7143/head
Roman Karwacik 7 months ago
parent f1161aed59
commit 0e48fb7809

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

Loading…
Cancel
Save