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: { computed: {
...mapGetters([ ...mapGetters([
'mergedConfig' 'mergedConfig'
]) ]),
statusLink () {
return {
name: 'conversation',
params: {
id: this.status.id
}
}
}
}, },
components: { components: {
QuoteCardContent QuoteCardContent

View file

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