diff options
Diffstat (limited to 'web/source')
| -rw-r--r-- | web/source/settings/components/status.tsx | 18 | ||||
| -rw-r--r-- | web/source/settings/lib/types/status.ts | 1 |
2 files changed, 11 insertions, 8 deletions
diff --git a/web/source/settings/components/status.tsx b/web/source/settings/components/status.tsx index 9d0dfa2b4..e8ae4b2df 100644 --- a/web/source/settings/components/status.tsx +++ b/web/source/settings/components/status.tsx @@ -299,7 +299,7 @@ function StatusFooter({ status }: { status: StatusType }) { minute: '2-digit', hour12: false })} - </time> + </time>{ status.edited_at && "*" } </a> </dd> </div> @@ -322,13 +322,15 @@ function StatusFooter({ status }: { status: StatusType }) { </summary> <dl className="stats-more-info-content"> <div className="stats-grouping"> - <div className="stats-item" title="Language"> - <dt> - <span className="sr-only">Language</span> - <i className="fa fa-language" aria-hidden="true"></i> - </dt> - <dd>{status.language}</dd> - </div> + { status.language && + <div className="stats-item" title="Language"> + <dt> + <span className="sr-only">Language</span> + <i className="fa fa-language" aria-hidden="true"></i> + </dt> + <dd>{status.language}</dd> + </div> + } <div className="stats-item" title="Replies"> <dt> <span className="sr-only">Replies</span> diff --git a/web/source/settings/lib/types/status.ts b/web/source/settings/lib/types/status.ts index e46f4a6b7..1e8cc273e 100644 --- a/web/source/settings/lib/types/status.ts +++ b/web/source/settings/lib/types/status.ts @@ -23,6 +23,7 @@ import { CustomEmoji } from "./custom-emoji"; export interface Status { id: string; created_at: string; + edited_at: string | null; in_reply_to_id: string | null; in_reply_to_account_id: string | null; sensitive: boolean; |
