Skip to content

Commit

Permalink
Merge branch 'main' into mta-2260
Browse files Browse the repository at this point in the history
  • Loading branch information
ibolton336 authored Feb 16, 2024
2 parents fc5026b + 9be2ac1 commit 49ea205
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,14 @@ export const WaveStakeholdersTable: React.FC<IWaveStakeholdersTableProps> = ({
<Toolbar {...toolbarProps}>
<ToolbarContent>
<ToolbarItem {...paginationToolbarItemProps}>
<SimplePagination
idPrefix={`expanded-migration-wave-${migrationWave.name}-apps-table`}
isTop
paginationProps={paginationProps}
/>
{migrationWave.allStakeholders.length > 9 && (
<SimplePagination
idPrefix={`expanded-migration-wave-${migrationWave.name}-apps-table`}
isTop
paginationProps={paginationProps}
isCompact
/>
)}
</ToolbarItem>
</ToolbarContent>
</Toolbar>
Expand Down Expand Up @@ -116,6 +119,14 @@ export const WaveStakeholdersTable: React.FC<IWaveStakeholdersTableProps> = ({
</Tbody>
</ConditionalTableBody>
</Table>
{migrationWave.allStakeholders.length > 9 && (
<SimplePagination
idPrefix={`expanded-migration-wave-${migrationWave.name}-apps-table`}
isTop={false}
paginationProps={paginationProps}
isCompact
/>
)}
</>
);
};
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,14 @@ export const WaveApplicationsTable: React.FC<IWaveApplicationsTableProps> = ({
<Toolbar {...toolbarProps}>
<ToolbarContent>
<ToolbarItem {...paginationToolbarItemProps}>
<SimplePagination
idPrefix={`expanded-migration-wave-${migrationWave.name}-apps-table`}
isTop
paginationProps={paginationProps}
/>
{migrationWave.fullApplications.length > 9 && (
<SimplePagination
idPrefix={`expanded-migration-wave-${migrationWave.name}-apps-table`}
isTop
paginationProps={paginationProps}
isCompact
/>
)}
</ToolbarItem>
</ToolbarContent>
</Toolbar>
Expand Down Expand Up @@ -155,6 +158,14 @@ export const WaveApplicationsTable: React.FC<IWaveApplicationsTableProps> = ({
</Tbody>
</ConditionalTableBody>
</Table>
{migrationWave.fullApplications.length > 9 && (
<SimplePagination
idPrefix={`expanded-migration-wave-${migrationWave.name}-apps-table`}
isTop={false}
paginationProps={paginationProps}
isCompact
/>
)}
</>
);
};

0 comments on commit 49ea205

Please sign in to comment.