updated?: string;
};
showAgo?: boolean;
+ ignoreUpdated?: boolean;
}
export class MomentTime extends Component<MomentTimeProps, any> {
}
render() {
- if (this.props.data.updated) {
+ if (!this.props.ignoreUpdated && this.props.data.updated) {
return (
<span
data-tippy-content={`${capitalizeFirstLetter(
</ul>
</div>
<div class="text-muted">
- {i18n.t('joined')} <MomentTime data={uv.user} showAgo />
+ {i18n.t('joined')}{' '}
+ <MomentTime data={uv.user} showAgo ignoreUpdated />
</div>
<div className="d-flex align-items-center text-muted mb-2">
<svg class="icon">