1
0
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:
Gard Rimestad 2022-09-23 10:00:06 +02:00 committed by GitHub
parent d7b2874afd
commit 87a9789300
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View File

@ -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,

View File

@ -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',

View File

@ -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,

View File

@ -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,