Skip to content

Commit

Permalink
Merge branch 'feature/orgs' into fix/EPMRPP-91791-wrong-organizations…
Browse files Browse the repository at this point in the history
…-page-is-displayed
  • Loading branch information
BlazarQSO committed Jul 4, 2024
2 parents 3fe30d5 + 956dd0a commit cefcaa3
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export const ProjectTeamListTableWrapped = ({ members, onChangeSorting, sortingD
{
key: 'lastLogin',
header: formatMessage(messages.lastLogin),
width: 138,
width: 156,
align: 'left',
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@

.project-team-list-table {
margin: 24px auto;
padding: 0 36px;
padding: 0 32px;
max-width: 1264px;
}

.date {
Expand Down
19 changes: 11 additions & 8 deletions app/src/pages/organization/projectTeamPage/projectTeamPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import classNames from 'classnames/bind';
import { loadingSelector, membersSelector } from 'controllers/members';
import { useIntl } from 'react-intl';
import { BubblesLoader } from '@reportportal/ui-kit';
import { ScrollWrapper } from 'components/main/scrollWrapper';
import { ProjectTeamPageHeader } from './projectTeamPageHeader';
import { EmptyPageState } from '../emptyPageState';
import { ProjectTeamListTable } from './projectTeamListTable';
Expand Down Expand Up @@ -54,13 +55,15 @@ export const ProjectTeamPage = () => {
);

return (
<div className={cx('project-team-page')}>
<ProjectTeamPageHeader
hasPermission={hasPermission}
title={formatMessage(messages.title)}
isNotEmpty={!isEmptyMembers}
/>
{isEmptyMembers ? getEmptyPageState() : <ProjectTeamListTable members={members} />}
</div>
<ScrollWrapper autoHeightMax={100}>
<div className={cx('project-team-page')}>
<ProjectTeamPageHeader
hasPermission={hasPermission}
title={formatMessage(messages.title)}
isNotEmpty={!isEmptyMembers}
/>
{isEmptyMembers ? getEmptyPageState() : <ProjectTeamListTable members={members} />}
</div>
</ScrollWrapper>
);
};
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
.project-team-page {
display: flex;
flex-direction: column;
height: 100%;
min-height: 100%;
}

.loader {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
border-bottom: 1px solid $COLOR--e-100;
background: $COLOR--bg-000;
box-sizing: border-box;
position: sticky;
top: 0;
}

.header {
Expand Down

0 comments on commit cefcaa3

Please sign in to comment.