aboutsummaryrefslogtreecommitdiff
path: root/src/components/status/status.js
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2019-05-20 21:02:29 +0000
committerHJ <30-hj@users.noreply.git.pleroma.social>2019-05-20 21:02:29 +0000
commit0fc7cbfa2462cfc025f6d218f02649693a71f677 (patch)
treed84e25b53ab48848b5d09875aee47e2b019d812a /src/components/status/status.js
parentb78ad8998dbba447796a62be945d6fdf2153506a (diff)
parent0f824ff311bd3b1b8a0126ad9d7a2885440d3762 (diff)
Merge branch 'fetags' into 'develop'
add tags to data and to status component See merge request pleroma/pleroma-fe!801
Diffstat (limited to 'src/components/status/status.js')
-rw-r--r--src/components/status/status.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/status/status.js b/src/components/status/status.js
index 5b3d98c3..ea4c2b9d 100644
--- a/src/components/status/status.js
+++ b/src/components/status/status.js
@@ -274,6 +274,9 @@ const Status = {
},
ownStatus () {
return this.status.user.id === this.$store.state.users.currentUser.id
+ },
+ tags () {
+ return this.status.tags.filter(tagObj => tagObj.hasOwnProperty('name')).map(tagObj => tagObj.name).join(' ')
}
},
components: {