Show 'edited' label if post has been edited
This commit is contained in:
parent
24c4949b40
commit
13253a3f19
2 changed files with 2 additions and 0 deletions
|
@ -50,6 +50,7 @@ export interface Post {
|
||||||
id: string;
|
id: string;
|
||||||
uri: string;
|
uri: string;
|
||||||
created_at: string;
|
created_at: string;
|
||||||
|
edited_at: string | null;
|
||||||
account: Profile;
|
account: Profile;
|
||||||
content: string;
|
content: string;
|
||||||
in_reply_to_id: string | null;
|
in_reply_to_id: string | null;
|
||||||
|
|
|
@ -30,6 +30,7 @@
|
||||||
>
|
>
|
||||||
<visibility-icon :visibility="post.visibility"></visibility-icon>
|
<visibility-icon :visibility="post.visibility"></visibility-icon>
|
||||||
</span>
|
</span>
|
||||||
|
<span v-if="post.edited_at">edited</span>
|
||||||
<a
|
<a
|
||||||
class="timestamp"
|
class="timestamp"
|
||||||
:href="post.uri"
|
:href="post.uri"
|
||||||
|
|
Loading…
Reference in a new issue