Skip to content

Commit

Permalink
fix: resolve error when searching disabled filter (#493) (#498)
Browse files Browse the repository at this point in the history
* refactor: remove unnecessary label mapper (#493)

* fix: update findable ui to latest to resolve error filtering booleans (#493)
  • Loading branch information
hunterckx authored Dec 18, 2024
1 parent 168d66f commit 5e081af
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
8 changes: 4 additions & 4 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
Expand Up @@ -16,7 +16,7 @@
"migrate": "ts-node -O '{\"module\": \"commonjs\"}' ./scripts/migration-runner.ts -j ts"
},
"dependencies": {
"@databiosphere/findable-ui": "16.0.0",
"@databiosphere/findable-ui": "^18.0.0",
"@emotion/react": "^11.13.3",
"@emotion/styled": "^11.13.0",
"@hookform/resolvers": "^3.3.4",
Expand Down
4 changes: 0 additions & 4 deletions site-config/hca-atlas-tracker/local/index/userEntityConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { HCAAtlasTrackerUser } from "../../../../app/apis/catalog/hca-atlas-trac
import { getUserId } from "../../../../app/apis/catalog/hca-atlas-tracker/common/utils";
import * as C from "../../../../app/components";
import { COLUMN_VISIBILITY } from "../../../../app/components/Table/features/constants";
import { mapSelectCategoryValue } from "../../../../app/config/utils";
import * as V from "../../../../app/viewModelBuilders/catalog/hca-atlas-tracker/common/viewModelBuilders";
import {
HCA_ATLAS_TRACKER_CATEGORY_KEY,
Expand Down Expand Up @@ -45,9 +44,6 @@ export const userEntityConfig: EntityConfig = {
{
key: HCA_ATLAS_TRACKER_CATEGORY_KEY.DISABLED,
label: HCA_ATLAS_TRACKER_CATEGORY_LABEL.DISABLED,
mapSelectCategoryValue: mapSelectCategoryValue((value) =>
value.toString()
),
},
],
},
Expand Down

0 comments on commit 5e081af

Please sign in to comment.