Skip to content

Commit

Permalink
Remove extra junk
Browse files Browse the repository at this point in the history
  • Loading branch information
tassoevan committed Jun 21, 2024
1 parent 4d4bf65 commit 0ca116c
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 47 deletions.
7 changes: 0 additions & 7 deletions .changeset/chilly-poems-explode.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/fifty-cups-sort.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/pink-parrots-end.md

This file was deleted.

28 changes: 0 additions & 28 deletions apps/meteor/client/components/UserInfo/UserInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,27 +132,6 @@ const UserInfo = ({
</InfoPanelField>
)}

{roles.length !== 0 && (
<InfoPanel.Field>
<InfoPanel.Label>{t('Roles')}</InfoPanel.Label>
<UserCardRoles>{roles}</UserCardRoles>
</InfoPanel.Field>
)}

{username && username !== name && (
<InfoPanel.Field>
<InfoPanel.Label>{t('Username')}</InfoPanel.Label>
<InfoPanel.Text data-qa='UserInfoUserName'>{username}</InfoPanel.Text>
</InfoPanel.Field>
)}

{Number.isInteger(utcOffset) && (
<InfoPanel.Field>
<InfoPanel.Label>{t('Local_Time')}</InfoPanel.Label>
<InfoPanel.Text>{utcOffset && <UTCClock utcOffset={utcOffset} />}</InfoPanel.Text>
</InfoPanel.Field>
)}

{bio && (
<InfoPanelField>
<InfoPanelLabel>{t('Bio')}</InfoPanelLabel>
Expand All @@ -169,13 +148,6 @@ const UserInfo = ({
</InfoPanelField>
)}

{Number.isInteger(utcOffset) && canViewAllInfo && (
<InfoPanel.Field>
<InfoPanel.Label>{t('Last_login')}</InfoPanel.Label>
<InfoPanel.Text>{lastLogin ? timeAgo(lastLogin) : t('Never')}</InfoPanel.Text>
</InfoPanel.Field>
)}

{phone && (
<InfoPanelField>
<InfoPanelLabel>{t('Phone')}</InfoPanelLabel>
Expand Down

0 comments on commit 0ca116c

Please sign in to comment.