mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +01:00
fix: s/Never logged/Never/g in frontend (#2075)
When a user has never been logged in "last login: never" reads better than "last login: Never logged".
This commit is contained in:
parent
d7b2874afd
commit
87a9789300
@ -115,7 +115,7 @@ export const Group: VFC = () => {
|
||||
Header: 'Last login',
|
||||
accessor: (row: IGroupUser) => row.seenAt || '',
|
||||
Cell: ({ row: { original: user } }: any) => (
|
||||
<TimeAgoCell value={user.seenAt} emptyText="Never logged" />
|
||||
<TimeAgoCell value={user.seenAt} emptyText="Never" />
|
||||
),
|
||||
sortType: 'date',
|
||||
maxWidth: 150,
|
||||
|
@ -152,7 +152,7 @@ const UsersList = () => {
|
||||
Header: 'Last login',
|
||||
accessor: (row: any) => row.seenAt || '',
|
||||
Cell: ({ row: { original: user } }: any) => (
|
||||
<TimeAgoCell value={user.seenAt} emptyText="Never logged" />
|
||||
<TimeAgoCell value={user.seenAt} emptyText="Never" />
|
||||
),
|
||||
disableGlobalFilter: true,
|
||||
sortType: 'date',
|
||||
|
@ -180,7 +180,7 @@ export const ProjectAccessTable: VFC = () => {
|
||||
return userRow.addedAt || '';
|
||||
},
|
||||
Cell: ({ value }: { value: Date }) => (
|
||||
<TimeAgoCell value={value} emptyText="Never logged" />
|
||||
<TimeAgoCell value={value} emptyText="Never" />
|
||||
),
|
||||
sortType: 'date',
|
||||
maxWidth: 150,
|
||||
@ -200,7 +200,7 @@ export const ProjectAccessTable: VFC = () => {
|
||||
.reverse()[0];
|
||||
},
|
||||
Cell: ({ value }: { value: Date }) => (
|
||||
<TimeAgoCell value={value} emptyText="Never logged" />
|
||||
<TimeAgoCell value={value} emptyText="Never" />
|
||||
),
|
||||
sortType: 'date',
|
||||
maxWidth: 150,
|
||||
|
@ -89,7 +89,7 @@ const columns = [
|
||||
Header: 'Last login',
|
||||
accessor: (row: IGroupUser) => row.seenAt || '',
|
||||
Cell: ({ row: { original: user } }: any) => (
|
||||
<TimeAgoCell value={user.seenAt} emptyText="Never logged" />
|
||||
<TimeAgoCell value={user.seenAt} emptyText="Never" />
|
||||
),
|
||||
sortType: 'date',
|
||||
maxWidth: 150,
|
||||
|
Loading…
Reference in New Issue
Block a user