Skip to content

Commit

Permalink
doc requests some labels changes to logged in users table
Browse files Browse the repository at this point in the history
  • Loading branch information
yaacov committed Sep 9, 2020
1 parent 4c3536d commit eb4d833
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export const VMDetailsCard: React.FC<VMDetailsCardProps> = () => {
{timeZone}
</DetailItem>
<DetailItem
title="Logged In Users"
title="Active Users"
error={numLoggedInUsers == null}
isLoading={!vmiLike}
errorMessage={guestAgentFieldNotAvailMsg}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export const VMDetails: React.FC<VMDetailsProps> = (props) => {
</div>
<div id="logged-in-users" className="co-m-pane__body">
<HashAnchor hash="logged-in-users" />
<SectionHeading text="Logged in users" />
<SectionHeading text="Active Users" />
<VMUsersList {...restProps} vmi={vmi} vmStatusBundle={vmStatusBundle} />
</div>
</StatusBox>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ const UsersTableHeader = () => {
props: { className: tableColumnClasses[1] },
},
{
title: 'Login time',
title: 'Time of login',
sortField: 'metadata.loginTime',
transforms: [sortable],
props: { className: tableColumnClasses[2] },
},
{
title: 'Elapsed logged in time',
title: 'Elapsed time since login',
props: { className: tableColumnClasses[3] },
},
];
Expand Down Expand Up @@ -95,7 +95,7 @@ export const VMUsersList: React.FC<VMUsersListProps> = ({ vmi, vmStatusBundle })
data={data}
loadError={error?.message}
loaded={!loading}
EmptyMsg={() => <div className="text-center">No Logged In Users</div>}
EmptyMsg={() => <div className="text-center">No Active Users</div>}
virtualize
/>
);
Expand Down

0 comments on commit eb4d833

Please sign in to comment.