Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GraphKB Client Patch Release v4.3.2 #94

Merged
merged 6 commits into from
Sep 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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": "[email protected]"
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
Loading