link to quote on click
This commit is contained in:
parent
7031a96841
commit
eeecba3322
2 changed files with 10 additions and 2 deletions
|
@ -14,7 +14,15 @@ const QuoteCard = {
|
|||
computed: {
|
||||
...mapGetters([
|
||||
'mergedConfig'
|
||||
])
|
||||
]),
|
||||
statusLink () {
|
||||
return {
|
||||
name: 'conversation',
|
||||
params: {
|
||||
id: this.status.id
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
components: {
|
||||
QuoteCardContent
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<div>
|
||||
<a
|
||||
class="quote-card"
|
||||
:href="status.url"
|
||||
:href="$router.resolve(statusLink).href"
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
>
|
||||
|
|
Loading…
Reference in a new issue