link to quote on click

This commit is contained in:
FloatingGhost 2022-07-25 03:05:06 +01:00
parent 7031a96841
commit eeecba3322
2 changed files with 10 additions and 2 deletions

View file

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

View file

@ -2,7 +2,7 @@
<div>
<a
class="quote-card"
:href="status.url"
:href="$router.resolve(statusLink).href"
target="_blank"
rel="noopener"
>