diff --git a/src/components/status/status.js b/src/components/status/status.js index 5b3d98c3..04958eea 100644 --- a/src/components/status/status.js +++ b/src/components/status/status.js @@ -289,6 +289,13 @@ 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': diff --git a/src/components/status/status.vue b/src/components/status/status.vue index 997c1b31..24b2520f 100644 --- a/src/components/status/status.vue +++ b/src/components/status/status.vue @@ -32,7 +32,7 @@ -