diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8619173e5..648d0a5e2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,6 +40,7 @@ jobs: run: npx semantic-release env: GITHUB_TOKEN: ${{ secrets.DHIS2_BOT_GITHUB_TOKEN }} + DEBUG: '@semantic-release/commit-analyzer' - name: Publish to AppHub run: yarn run d2-app-scripts publish diff --git a/CHANGELOG.md b/CHANGELOG.md index b881d05d8..829b8f875 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +## [101.1.8](https://github.com/dhis2/line-listing-app/compare/v101.1.7...v101.1.8) (2024-08-26) + + +### Bug Fixes + +* display correct app version in dhis2 and updated workflows ([#581](https://github.com/dhis2/line-listing-app/issues/581)) ([d31979f](https://github.com/dhis2/line-listing-app/commit/d31979fbd451349813b32c90ea2bdb147d28ce92)) +* use saved visualization in interpretation modal ([#551](https://github.com/dhis2/line-listing-app/issues/551)) ([6e42b92](https://github.com/dhis2/line-listing-app/commit/6e42b9264e71b95a0a45b65cfde5846061883519)) + ## [101.1.7](https://github.com/dhis2/line-listing-app/compare/v101.1.6...v101.1.7) (2024-08-25) diff --git a/package.json b/package.json index 687b50ca9..9e422905a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "line-listing-app", - "version": "101.1.7", + "version": "101.1.8", "description": "DHIS2 Line Listing", "license": "BSD-3-Clause", "private": true, diff --git a/src/components/InterpretationModal/InterpretationModal.js b/src/components/InterpretationModal/InterpretationModal.js index f3ddcbe2a..ac7bd92bc 100644 --- a/src/components/InterpretationModal/InterpretationModal.js +++ b/src/components/InterpretationModal/InterpretationModal.js @@ -5,7 +5,7 @@ import { import PropTypes from 'prop-types' import React, { useState, useEffect } from 'react' import { useSelector } from 'react-redux' -import { sGetCurrent } from '../../reducers/current.js' +import { sGetVisualization } from '../../reducers/visualization.js' import { ModalDownloadDropdown } from '../DownloadMenu/index.js' import { Visualization } from '../Visualization/Visualization.js' import { @@ -16,7 +16,7 @@ import { const InterpretationModal = ({ onInterpretationUpdate }) => { const { interpretationId, initialFocus } = useInterpretationQueryParams() const [isVisualizationLoading, setIsVisualizationLoading] = useState(false) - const visualization = useSelector(sGetCurrent) + const visualization = useSelector(sGetVisualization) const { currentUser } = useCachedDataQuery() useEffect(() => {