link to quote on click

This commit is contained in:
FloatingGhost 2022-07-25 03:05:06 +01:00 committed by Sam Therapy
parent 169dec5048
commit ce479c5e12
Signed by: sam
GPG Key ID: 4D8B07C18F31ACBD
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"
>