Skip to content

Commit

Permalink
HOTFIX: PSP-4092 Page-to-page function missing (#1869)
Browse files Browse the repository at this point in the history
* Hotfix for PSP-4092

* bump hotfix version
  • Loading branch information
asanchezr authored Aug 5, 2022
1 parent f62d297 commit dbe3cf0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions backend/api/Pims.Api.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<UserSecretsId>0ef6255f-9ea0-49ec-8c65-c172304b4926</UserSecretsId>
<Version>2.1.4-32.29</Version>
<AssemblyVersion>2.1.4.32</AssemblyVersion>
<Version>2.1.5-32.30</Version>
<AssemblyVersion>2.1.5.32</AssemblyVersion>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<ProjectGuid>16BC0468-78F6-4C91-87DA-7403C919E646</ProjectGuid>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "frontend",
"version": "2.1.4-32.29",
"version": "2.1.5-32.30",
"private": true,
"dependencies": {
"@bcgov/bc-sans": "1.0.1",
Expand Down
3 changes: 2 additions & 1 deletion frontend/src/components/Table/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ export interface TableProps<T extends object = {}, TFilter extends object = {}>
lockPageSize?: boolean;
detailsPanel?: DetailsOptions<T>;
footer?: boolean;
hidePagination?: boolean;
hideToolbar?: boolean;
tableToolbarText?: string;
manualPagination?: boolean;
Expand Down Expand Up @@ -778,7 +779,7 @@ export const Table = <T extends IIdentifiedObject, TFilter extends object = {}>(
</ColBootstrap>
)}
<ColBootstrap xs="auto" className="align-self-center">
{props.pageSize !== props.data.length && <TablePagination<T> instance={instance} />}
{!props.hidePagination && <TablePagination<T> instance={instance} />}
</ColBootstrap>
</RowBootstrap>
)}
Expand Down
5 changes: 3 additions & 2 deletions frontend/src/components/common/form/TableSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,12 @@ export const TableSelect = <T extends { id?: string | number }>({
<SelectedTableHeader selectedCount={existingItems.length} />
<Table<T>
name="selected-items"
lockPageSize
hidePagination
footer
columns={columnsWithRemove}
data={existingItems}
lockPageSize
pageSize={existingItems.length}
footer
/>
</Styled.SaveTableWrapper>
<DisplayError field={field} />
Expand Down

0 comments on commit dbe3cf0

Please sign in to comment.