From ce479c5e12581c6bfcc01466b3cd88a95869d015 Mon Sep 17 00:00:00 2001 From: FloatingGhost Date: Mon, 25 Jul 2022 03:05:06 +0100 Subject: [PATCH] link to quote on click --- src/components/quote_card/quote_card.js | 10 +++++++++- src/components/quote_card/quote_card.vue | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/components/quote_card/quote_card.js b/src/components/quote_card/quote_card.js index 48fdbe42..8f1a58a1 100644 --- a/src/components/quote_card/quote_card.js +++ b/src/components/quote_card/quote_card.js @@ -14,7 +14,15 @@ const QuoteCard = { computed: { ...mapGetters([ 'mergedConfig' - ]) + ]), + statusLink () { + return { + name: 'conversation', + params: { + id: this.status.id + } + } + } }, components: { QuoteCardContent diff --git a/src/components/quote_card/quote_card.vue b/src/components/quote_card/quote_card.vue index 8cabe1a4..64f8b6a9 100644 --- a/src/components/quote_card/quote_card.vue +++ b/src/components/quote_card/quote_card.vue @@ -2,7 +2,7 @@