aboutsummaryrefslogtreecommitdiff
path: root/src/components/status/status.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/status/status.js')
-rw-r--r--src/components/status/status.js10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/components/status/status.js b/src/components/status/status.js
index e2d2bb8b..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: {
@@ -289,13 +292,6 @@ const Status = {
AvatarList
},
methods: {
- generateTagAttributes (tags) {
- let res = {}
- for (let tag of tags) {
- res['data-tag-' + tag.name] = tag.name
- }
- return res
- },
visibilityIcon (visibility) {
switch (visibility) {
case 'private':