Show 'edited' label if post has been edited

This commit is contained in:
silverpill 2022-05-11 13:41:13 +00:00
parent 24c4949b40
commit 13253a3f19
2 changed files with 2 additions and 0 deletions

View file

@ -50,6 +50,7 @@ export interface Post {
id: string;
uri: string;
created_at: string;
edited_at: string | null;
account: Profile;
content: string;
in_reply_to_id: string | null;

View file

@ -30,6 +30,7 @@
>
<visibility-icon :visibility="post.visibility"></visibility-icon>
</span>
<span v-if="post.edited_at">edited</span>
<a
class="timestamp"
:href="post.uri"