diff --git a/src/views/RegularUsers.tsx b/src/views/RegularUsers.tsx index a9e86524..7620945e 100644 --- a/src/views/RegularUsers.tsx +++ b/src/views/RegularUsers.tsx @@ -588,7 +588,7 @@ export const RegularUsers = () => { {btn} me - {((record as User).last_login && Last login: {String(timeAgo((record as User).last_login))})} + {(isNetBirdHosted() || isLocalDev()) && ((record as User).last_login && Last login: {String(timeAgo((record as User).last_login))})} ); } @@ -600,7 +600,7 @@ export const RegularUsers = () => { {btn} invited - {((record as User).last_login && Last login: {String(timeAgo((record as User).last_login))})} + {(isNetBirdHosted() || isLocalDev()) && ((record as User).last_login && Last login: {String(timeAgo((record as User).last_login))})} ); } @@ -612,7 +612,7 @@ export const RegularUsers = () => { {btn} blocked - {((record as User).last_login && Last login: {String(timeAgo((record as User).last_login))})} + {(isNetBirdHosted() || isLocalDev()) && ((record as User).last_login && Last login: {String(timeAgo((record as User).last_login))})} ); } @@ -622,7 +622,7 @@ export const RegularUsers = () => {
{btn}
- {((record as User).last_login && Last login: {String(timeAgo((record as User).last_login))})} + {(isNetBirdHosted() || isLocalDev()) && ((record as User).last_login && Last login: {String(timeAgo((record as User).last_login))})} ); }}