diff options
| author | Tusooa Zhu <tusooa@kazv.moe> | 2022-06-22 16:05:27 -0400 |
|---|---|---|
| committer | Tusooa Zhu <tusooa@kazv.moe> | 2022-06-22 16:07:46 -0400 |
| commit | ed8bc6102290cb50d44c1c7aa5696aac5624d907 (patch) | |
| tree | a945f22bea5a84815b4a8b5f0077a0291d092b4b /src/components/status/status.js | |
| parent | 08c9aa4bf3a06531516cf72b9ffc00b44ee51d75 (diff) | |
Add last edited at indicator in status
Diffstat (limited to 'src/components/status/status.js')
| -rw-r--r-- | src/components/status/status.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/components/status/status.js b/src/components/status/status.js index a925f30b..b7f20374 100644 --- a/src/components/status/status.js +++ b/src/components/status/status.js @@ -392,6 +392,12 @@ const Status = { }, visibilityLocalized () { return this.$i18n.t('general.scope_in_timeline.' + this.status.visibility) + }, + isEdited () { + return this.status.edited_at !== null + }, + editingAvailable () { + return this.$store.state.instance.editingAvailable } }, methods: { |
