From c3d28af321c9e14d794dac6d92202b20f9c7b2d8 Mon Sep 17 00:00:00 2001 From: Tomas Bednarik Date: Sun, 3 Nov 2019 12:34:56 +0100 Subject: [PATCH] Clickable tags by nuxt-link --- webapp/components/Hashtag/Hashtag.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/webapp/components/Hashtag/Hashtag.vue b/webapp/components/Hashtag/Hashtag.vue index 91066eaf9..35762c81c 100644 --- a/webapp/components/Hashtag/Hashtag.vue +++ b/webapp/components/Hashtag/Hashtag.vue @@ -1,6 +1,6 @@ @@ -10,5 +10,10 @@ export default { props: { id: { type: String, required: true }, }, + computed: { + hashtagUrl() { + return `/?hashtag=${this.id}` + }, + }, }