diff options
| author | tusooa <tusooa@kazv.moe> | 2023-12-27 22:54:44 -0500 |
|---|---|---|
| committer | tusooa <tusooa@kazv.moe> | 2023-12-27 22:54:44 -0500 |
| commit | cc4aaccf3834a18a32606ca175dc6bb910a78b60 (patch) | |
| tree | 754287319e8c0f00c4bd3ae21839bcb303d853ba /src/components/status | |
| parent | fd77270564959ab928e025f7f55b810e0470d5e1 (diff) | |
Implement indicator for groups
Diffstat (limited to 'src/components/status')
| -rw-r--r-- | src/components/status/status.js | 10 | ||||
| -rw-r--r-- | src/components/status/status.vue | 6 |
2 files changed, 5 insertions, 11 deletions
diff --git a/src/components/status/status.js b/src/components/status/status.js index 129929a3..458c8554 100644 --- a/src/components/status/status.js +++ b/src/components/status/status.js @@ -232,17 +232,11 @@ const Status = { muteWordHits () { return muteWordHits(this.status, this.muteWords) }, - rtBotStatus () { - return this.statusoid.user.bot - }, botStatus () { return this.status.user.bot }, - botIndicator () { - return this.botStatus && !this.hideBotIndication - }, - rtBotIndicator () { - return this.rtBotStatus && !this.hideBotIndication + showActorTypeIndicator () { + return !this.hideBotIndication }, mentionsLine () { if (!this.headTailLinks) return [] diff --git a/src/components/status/status.vue b/src/components/status/status.vue index fa9d6f0b..1c91c36c 100644 --- a/src/components/status/status.vue +++ b/src/components/status/status.vue @@ -79,7 +79,7 @@ <UserAvatar v-if="retweet" class="left-side repeater-avatar" - :bot="rtBotIndicator" + :show-actor-type-indicator="showActorTypeIndicator" :better-shadow="betterShadow" :user="statusoid.user" /> @@ -133,7 +133,7 @@ > <UserAvatar class="post-avatar" - :bot="botIndicator" + :show-actor-type-indicator="showActorTypeIndicator" :compact="compact" :better-shadow="betterShadow" :user="status.user" @@ -559,7 +559,7 @@ <UserAvatar class="post-avatar" :compact="compact" - :bot="botIndicator" + :show-actor-type-indicator="showActorTypeIndicator" /> </div> <div class="right-side"> |
