diff --git a/CHANGELOG.md b/CHANGELOG.md index 31a9aca7e..38ff13f79 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ Tous les changements notables sur le projet sont documentés dans ce fichier. Ce projet adhère au principe du [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## 0.24.2 (2024-05-22) + +- Rétablit l'information du parc, qui avait disparu de la fiche matériel. + ## 0.24.1 (2024-05-14) - Corrige le click sur les éléments déroulant sur mobile / tablette. diff --git a/VERSION b/VERSION index 48b91fd89..8b95abd94 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.24.1 +0.24.2 diff --git a/client/src/themes/default/pages/MaterialView/tabs/Infos/index.tsx b/client/src/themes/default/pages/MaterialView/tabs/Infos/index.tsx index 01eb56777..dbded29e5 100644 --- a/client/src/themes/default/pages/MaterialView/tabs/Infos/index.tsx +++ b/client/src/themes/default/pages/MaterialView/tabs/Infos/index.tsx @@ -87,6 +87,8 @@ const MaterialViewInfos = defineComponent({ rentalPrice, replacementPrice, material, + hasMultipleParks, + parkName, } = this; const { @@ -217,6 +219,13 @@ const MaterialViewInfos = defineComponent({ )}
+ {hasMultipleParks && ( +
+

+ {__('page.material-view.infos.park-name', { name: parkName })} +

+
+ )}

{__('category')}: {categoryName}