Skip to content

Commit

Permalink
Merge branch '24.x' into fix/visualization-flashing-interp-modal-24x
Browse files Browse the repository at this point in the history
  • Loading branch information
jenniferarnesen authored Apr 22, 2024
2 parents d9bb167 + 6e4b817 commit 9e411c9
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [24.10.6](https://github.com/dhis2/analytics/compare/v24.10.5...v24.10.6) (2024-04-19)


### Bug Fixes

* **aboutAOUnit:** newlines missing in AO description ([#1656](https://github.com/dhis2/analytics/issues/1656)) ([8fe3a14](https://github.com/dhis2/analytics/commit/8fe3a14ec256f6eb2990fffcc092b1eea8911885)), closes [#1655](https://github.com/dhis2/analytics/issues/1655)

## [24.10.5](https://github.com/dhis2/analytics/compare/v24.10.4...v24.10.5) (2024-04-03)


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dhis2/analytics",
"version": "24.10.5",
"version": "24.10.6",
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
Expand Down
1 change: 1 addition & 0 deletions src/components/AboutAOUnit/AboutAOUnit.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ const AboutAOUnit = forwardRef(({ type, id, renderId }, ref) => {
<div className="content">
<p
className={cx('detailLine', {
description: true,
noDescription: !data.ao.displayDescription,
})}
>
Expand Down
4 changes: 4 additions & 0 deletions src/components/AboutAOUnit/styles/AboutAOUnit.style.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ export default css`
flex-shrink: 0;
}
.description {
white-space: pre-line;
}
.noDescription {
color: ${colors.grey600};
}
Expand Down

0 comments on commit 9e411c9

Please sign in to comment.