Skip to content

Commit

Permalink
Merge pull request #94 from bcgsc/release/v4.3.2
Browse files Browse the repository at this point in the history
GraphKB Client Patch Release v4.3.2
  • Loading branch information
bnguyen-bcgsc authored Sep 17, 2024
2 parents c4b6118 + a1d78a5 commit 61b9aa4
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bcgsc-pori/graphkb-client",
"version": "4.3.1",
"version": "4.3.2",
"private": true,
"bugs": {
"email": "graphkb@bcgsc.ca"
Expand Down
2 changes: 1 addition & 1 deletion src/components/QueryResultsTable/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,13 @@ const QueryResultsTable = ({
<AgGridReact
{...grid.props}
columnDefs={columnDefs}
data={data}
deltaRowDataMode
enableCellTextSelection
frameworkComponents={{ JumpToRecord }}
getRowNodeId={(rowData) => rowData['@rid']}
pagination
paginationAutoPageSize
rowData={data}
suppressHorizontalScroll
/>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/views/ActivityView/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const ActivityView = () => {
}),
]);
const result = [...records, ...edges]
.sort((rec1, rec2) => (rec2.updatedAt || rec2.createdAt) - (rec1.updatedAt || rec1.createdAt));
.sort((rec1: any, rec2: any) => (rec2.updatedAt || rec2.createdAt) - (rec1.updatedAt || rec1.createdAt));
return result;
});

Expand Down Expand Up @@ -133,13 +133,13 @@ const ActivityView = () => {
sortable: true,
},
]}
data={recentRecords}
deltaRowDataMode
enableCellTextSelection
frameworkComponents={{ JumpToRecord }}
getRowNodeId={(data) => data['@rid']}
pagination
paginationAutoPageSize
rowData={recentRecords}
suppressHorizontalScroll
/>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/views/MainView/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ const Main = () => {
})}
{generateAuthenticatedRoutes(['new'], [...ABSTRACT_CLASSES, ...ABSTRACT_CLASSES.map((m) => m.toLowerCase())], {
component: NewRecordSelectView,
admin: true,
admin: false,
})}
<Route element={<AuthenticatedRoute component={NewRecordView} />} path="/new/:modelName" />
<Route element={<AuthenticatedRoute component={DataView} />} path="/data/table" />
Expand Down

0 comments on commit 61b9aa4

Please sign in to comment.