diff options
| author | Henry Jameson <me@hjkos.com> | 2021-06-10 18:52:01 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2021-06-10 18:52:01 +0300 |
| commit | cc00af7a3102034b05ebcd4aa1fd01c6f467184a (patch) | |
| tree | fc2d34177416a03359a85567aa6b8c29374c2f07 /src/components/status | |
| parent | 0f73e96194fb13e70be0222a7ab718d7894b62c2 (diff) | |
Hellthread(tm) Certified
Diffstat (limited to 'src/components/status')
| -rw-r--r-- | src/components/status/status.js | 3 | ||||
| -rw-r--r-- | src/components/status/status.vue | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/components/status/status.js b/src/components/status/status.js index e9a5ec0d..bab818fc 100644 --- a/src/components/status/status.js +++ b/src/components/status/status.js @@ -196,6 +196,9 @@ const Status = { hasMentionsLine () { return this.mentionsLine.length > 0 }, + hideLastMentions () { + return this.headTailLinks.firstMentions.length === 0 + }, muted () { if (this.statusoid.user.id === this.currentUser.id) return false const { status } = this diff --git a/src/components/status/status.vue b/src/components/status/status.vue index 7cc25be9..0190d864 100644 --- a/src/components/status/status.vue +++ b/src/components/status/status.vue @@ -306,6 +306,7 @@ :highlight="highlight" :focused="isFocused" :hide-first-mentions="mentionsOwnLine && isReply" + :hide-last-mentions="hideLastMentions" :head-tail-links="headTailLinks" @mediaplay="addMediaPlaying($event)" @mediapause="removeMediaPlaying($event)" |
