From 8a8fc1121987c5eced58e0b8b28c7039e570cd25 Mon Sep 17 00:00:00 2001 From: tea Date: Fri, 8 Dec 2023 01:30:52 +0100 Subject: [PATCH] display repeat visibility --- src/components/status/status.js | 4 ++++ src/components/status/status.vue | 12 ++++++++++++ 2 files changed, 16 insertions(+) diff --git a/src/components/status/status.js b/src/components/status/status.js index 9bb3364f..c74f96f5 100644 --- a/src/components/status/status.js +++ b/src/components/status/status.js @@ -215,6 +215,7 @@ const Status = { retweeter () { return this.statusoid.user.name || this.statusoid.user.screen_name_ui }, retweeterHtml () { return this.statusoid.user.name }, retweeterProfileLink () { return this.generateUserProfileLink(this.statusoid.user.id, this.statusoid.user.screen_name) }, + retweeterVisibility () { return this.statusoid.visibility }, status () { if (this.retweet) { return this.statusoid.retweeted_status @@ -440,6 +441,9 @@ const Status = { visibilityLocalized () { return this.$i18n.t('general.scope_in_timeline.' + this.status.visibility) }, + retweeterVisibilityLocalized () { + return this.$i18n.t('general.scope_in_timeline.' + this.statusoid.visibility) + }, isEdited () { return this.status.edited_at !== null }, diff --git a/src/components/status/status.vue b/src/components/status/status.vue index f51462bb..f328da42 100644 --- a/src/components/status/status.vue +++ b/src/components/status/status.vue @@ -113,6 +113,18 @@ /> {{ $t('timeline.repeated') }} + + + +