From e752dba56692d2479b5a791a43f78a16be0b6fa6 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sat, 30 May 2020 13:01:26 -0700 Subject: [PATCH] fix: User profile should say 'invited' instead of 'joined' when user has yet to signin --- app/scenes/UserProfile.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/scenes/UserProfile.js b/app/scenes/UserProfile.js index e861b6e2..010bed5c 100644 --- a/app/scenes/UserProfile.js +++ b/app/scenes/UserProfile.js @@ -45,7 +45,9 @@ class UserProfile extends React.Component { > - {isCurrentUser ? 'You joined' : 'Joined'}{' '} + {isCurrentUser + ? 'You joined' + : user.lastActiveAt ? 'Joined' : 'Invited'}{' '} {distanceInWordsToNow(new Date(user.createdAt))} ago. {user.isAdmin && ( Admin