diff --git a/package-lock.json b/package-lock.json index 2e698b0a..2f0d73bb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@bcgsc-pori/graphkb-client", - "version": "4.3.1", + "version": "4.3.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@bcgsc-pori/graphkb-client", - "version": "4.3.1", + "version": "4.3.2", "license": "GPL-3.0", "dependencies": { "@babel/plugin-transform-class-properties": "^7.23.3", diff --git a/package.json b/package.json index fe8ae167..676b6d61 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@bcgsc-pori/graphkb-client", - "version": "4.3.1", + "version": "4.3.2", "private": true, "bugs": { "email": "graphkb@bcgsc.ca" diff --git a/src/components/QueryResultsTable/index.tsx b/src/components/QueryResultsTable/index.tsx index 21b7900f..d7cf0cd2 100644 --- a/src/components/QueryResultsTable/index.tsx +++ b/src/components/QueryResultsTable/index.tsx @@ -77,13 +77,13 @@ const QueryResultsTable = ({ rowData['@rid']} pagination paginationAutoPageSize + rowData={data} suppressHorizontalScroll /> diff --git a/src/views/ActivityView/index.tsx b/src/views/ActivityView/index.tsx index 79572322..75bcdd49 100644 --- a/src/views/ActivityView/index.tsx +++ b/src/views/ActivityView/index.tsx @@ -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; }); @@ -133,13 +133,13 @@ const ActivityView = () => { sortable: true, }, ]} - data={recentRecords} deltaRowDataMode enableCellTextSelection frameworkComponents={{ JumpToRecord }} getRowNodeId={(data) => data['@rid']} pagination paginationAutoPageSize + rowData={recentRecords} suppressHorizontalScroll /> diff --git a/src/views/MainView/index.tsx b/src/views/MainView/index.tsx index 06adcac7..264673c1 100644 --- a/src/views/MainView/index.tsx +++ b/src/views/MainView/index.tsx @@ -107,7 +107,7 @@ const Main = () => { })} {generateAuthenticatedRoutes(['new'], [...ABSTRACT_CLASSES, ...ABSTRACT_CLASSES.map((m) => m.toLowerCase())], { component: NewRecordSelectView, - admin: true, + admin: false, })} } path="/new/:modelName" /> } path="/data/table" />