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: {
|
computed: {
|
||||||
...mapGetters([
|
...mapGetters([
|
||||||
'mergedConfig'
|
'mergedConfig'
|
||||||
])
|
]),
|
||||||
|
statusLink () {
|
||||||
|
return {
|
||||||
|
name: 'conversation',
|
||||||
|
params: {
|
||||||
|
id: this.status.id
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
QuoteCardContent
|
QuoteCardContent
|
||||||
|
|
|
@ -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"
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in a new issue