Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:CanDIG/candig-data-portal into b…
Browse files Browse the repository at this point in the history
…ugfix/sidebar-width
  • Loading branch information
CourtneyGosselin committed Dec 16, 2024
2 parents f35998c + 27c841b commit e3c19cb
Show file tree
Hide file tree
Showing 17 changed files with 2,827 additions and 3,771 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.github/workflows/candig-dispatch.yml
**/*.md
5,085 changes: 2,818 additions & 2,267 deletions package-lock.json

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
"@testing-library/jest-dom": "^6.2.0",
"@testing-library/react": "^14.1.2",
"@testing-library/user-event": "^14.5.2",
"apexcharts": "^3.45.1",
"babel-loader": "^9.1.3",
"clsx": "^2.1.0",
"eslint-config-react-app": "^7.0.1",
"formik": "^2.4.5",
"framer-motion": "^10.17.9",
"highcharts": "^11.2.0",
Expand All @@ -35,7 +35,6 @@
"papaparse": "^5.4.1",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react-apexcharts": "^1.4.1",
"react-device-detect": "^2.2.3",
"react-dom": "^18.2.0",
"react-loader-spinner": "^6.1.6",
Expand Down
6 changes: 5 additions & 1 deletion src/views/clinicalGenomic/widgets/clinicalData.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,11 @@ function ClinicalView() {

const HandlePageChange = (newModel) => {
if (newModel.page !== queryReader.query?.page) {
writerContext((old) => ({ ...old, query: { ...old.query, page: newModel.page, page_size: newModel.pageSize } }));
writerContext((old) => ({
...old,
query: { ...old.query, page: newModel.page, page_size: newModel.pageSize },
reqNum: old.reqNum + 1
}));
}
};

Expand Down
3 changes: 2 additions & 1 deletion src/views/clinicalGenomic/widgets/searchExplainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@ function SearchExplainer() {

// Decompose the query into its roots: what are we searching on?
if (query !== undefined) {
const ignoredKeys = ['page', 'page_size']; // These are never included in the explanation
Object.keys(query).forEach((key) => {
if (key !== undefined && query[key] !== undefined) {
if (key !== undefined && query[key] !== undefined && !ignoredKeys.includes(key)) {
const onDelete = () => {
writer((old) => ({ ...old, clear: key }));
};
Expand Down
92 changes: 0 additions & 92 deletions src/views/dashboard/Default/BajajAreaChartCard.js

This file was deleted.

218 changes: 0 additions & 218 deletions src/views/dashboard/Default/EarningCard.js

This file was deleted.

Loading

0 comments on commit e3c19cb

Please sign in to comment.