Change quoted status link to router-link
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful

This commit is contained in:
Sol Fisher Romanoff 2022-07-25 19:58:55 +03:00
parent a2541bb4e0
commit 86fc043e54
No known key found for this signature in database
GPG key ID: 9D3F2B64F2341B62
2 changed files with 4 additions and 14 deletions

View file

@ -14,15 +14,7 @@ const QuoteCard = {
computed: {
...mapGetters([
'mergedConfig'
]),
statusLink () {
return {
name: 'conversation',
params: {
id: this.status.id
}
}
}
])
},
components: {
QuoteCardContent

View file

@ -1,15 +1,13 @@
<template>
<div>
<a
<router-link
class="quote-card"
:href="$router.resolve(statusLink).href"
target="_blank"
rel="noopener"
:to="{ name: 'conversation', params: { id: status.id } }"
>
<QuoteCardContent
:status="status"
/>
</a>
</router-link>
</div>
</template>