Skip to content

Commit

Permalink
Merge pull request #1588 from danskernesdigitalebibliotek/develop
Browse files Browse the repository at this point in the history
Release 2024.50.0
  • Loading branch information
xendk authored Dec 10, 2024
2 parents ccdcf63 + 9d1693b commit 971e7c3
Show file tree
Hide file tree
Showing 6 changed files with 459 additions and 98 deletions.
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-optional-chaining": "^7.21.0",
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.25.9",
"@babel/preset-react": "^7.26.3",
"@babel/preset-typescript": "^7.26.0",
"@chromatic-com/storybook": "^3",
"@csstools/postcss-sass": "^5.1.1",
Expand All @@ -69,7 +69,7 @@
"@storybook/addon-queryparams": "^7.0.1",
"@storybook/addon-webpack5-compiler-babel": "^3.0.3",
"@storybook/react": "^8.2.9",
"@storybook/react-webpack5": "^8.4.6",
"@storybook/react-webpack5": "^8.4.7",
"@testing-library/dom": "^9.3.4",
"@testing-library/react": "^14.2.2",
"@testing-library/react-hooks": "^8.0.1",
Expand All @@ -81,21 +81,21 @@
"@types/react-redux": "^7.1.24",
"@typescript-eslint/eslint-plugin": "^5.23.0",
"@typescript-eslint/parser": "^7.16.0",
"@vitest/coverage-istanbul": "^2.1.6",
"@vitest/coverage-istanbul": "^2.1.8",
"autoprefixer": "^10.4.20",
"babel-loader": "^9.2.1",
"babel-plugin-istanbul": "^7.0.0",
"babel-plugin-lodash": "^3.3.4",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"caniuse-lite": "^1.0.30001684",
"caniuse-lite": "^1.0.30001687",
"change-case-all": "^2.1.0",
"chokidar-cli": "^3.0.0",
"concurrently": "^9.1.0",
"core-js": "^3.39.0",
"css-loader": "^7.1.2",
"cssnano": "^7.0.6",
"cypress": "^13.0.0",
"dotenv": "^16.4.5",
"dotenv": "^16.4.7",
"eslint": "^8.57.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^18.0.0",
Expand All @@ -107,7 +107,7 @@
"eslint-plugin-no-only-tests": "^3.3.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-webpack-plugin": "^4.2.0",
"glob": "^8.0.1",
"happy-dom": "^14.12.3",
Expand All @@ -122,9 +122,9 @@
"postcss-scss": "^4.0.9",
"prettier": "^2.6.2",
"replace-in-file": "^6.3.2",
"sass": "^1.81.0",
"sass": "^1.82.0",
"source-map-support": "^0.5.21",
"storybook": "^8.4.6",
"storybook": "^8.4.7",
"style-loader": "^4.0.0",
"stylelint": "^15.11.0",
"stylelint-config-prettier": "^9.0.5",
Expand Down
3 changes: 1 addition & 2 deletions src/components/facet-browser/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,7 @@ export const getFacetFieldTranslation = (name: FacetFieldEnum) => {
return "facetWorkTypesText";
case FacetFieldEnum.Year.toLowerCase():
return "facetYearText";
// TODO: Replace this case when FBI API specs have updated
case "gameplatform":
case FacetFieldEnum.Gameplatform.toLowerCase():
return "facetGamePlatformText";
default:
return invalidSwitchCase<string>(name as never);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const FindOnShelfManifestationListItem: FC<
</span>
<span role="cell">
{locationArrayWithShelfmark.length
? getFindOnShelfLocationText(locationArray, author)
? getFindOnShelfLocationText(locationArrayWithShelfmark, author)
: t("findOnShelfModalNoLocationSpecifiedText")}
</span>
<span className="find-on-shelf__item-count-text" role="cell">
Expand Down
Loading

0 comments on commit 971e7c3

Please sign in to comment.