diff options
| author | Sean King <seanking2919@protonmail.com> | 2022-08-02 23:19:25 -0600 |
|---|---|---|
| committer | Sean King <seanking2919@protonmail.com> | 2022-08-02 23:19:25 -0600 |
| commit | 04e62df377fdd2ea563f58dcd23ea8048fc1c140 (patch) | |
| tree | eb9877bb285a37b022f08346d6196c19730d5c0e /src/components/status/status.vue | |
| parent | b70d50407cef26926635b1b47131c01e597fcfc6 (diff) | |
Allow for template inside Timeago component that shows unless the time string is 'just now'
Diffstat (limited to 'src/components/status/status.vue')
| -rw-r--r-- | src/components/status/status.vue | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/src/components/status/status.vue b/src/components/status/status.vue index 5ddb94b4..8036ddf4 100644 --- a/src/components/status/status.vue +++ b/src/components/status/status.vue @@ -336,16 +336,12 @@ tag="span" > <template #time> - <i18n-t - keypath="time.in_past" - tag="span" - > - <Timeago - :time="status.edited_at" - :auto-update="60" - :long-format="true" - /> - </i18n-t> + <Timeago + template-key="time.in_past" + :time="status.edited_at" + :auto-update="60" + :long-format="true" + /> </template> </i18n-t> </div> |
