From: Dessalines Date: Tue, 2 Feb 2021 17:26:08 +0000 (-0500) Subject: Ignore updated for user page. Fixes #139 X-Git-Url: http://these/git/readmes/%7B%60%24%7BwebArchiveUrl%7D/save/static/%7BrepoUrl%7D?a=commitdiff_plain;h=a28a8d059e21deb8698d256327e3705cf70ab2f7;p=lemmy-ui.git Ignore updated for user page. Fixes #139 --- diff --git a/src/shared/components/moment-time.tsx b/src/shared/components/moment-time.tsx index e833805..baa3c25 100644 --- a/src/shared/components/moment-time.tsx +++ b/src/shared/components/moment-time.tsx @@ -10,6 +10,7 @@ interface MomentTimeProps { updated?: string; }; showAgo?: boolean; + ignoreUpdated?: boolean; } export class MomentTime extends Component { @@ -22,7 +23,7 @@ export class MomentTime extends Component { } render() { - if (this.props.data.updated) { + if (!this.props.ignoreUpdated && this.props.data.updated) { return ( {
- {i18n.t('joined')} + {i18n.t('joined')}{' '} +