diff --git a/pdf-ui/CHANGELOG.md b/pdf-ui/CHANGELOG.md index d906db5..3ef226f 100644 --- a/pdf-ui/CHANGELOG.md +++ b/pdf-ui/CHANGELOG.md @@ -8,6 +8,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 As a minor extension, we also keep a semantic version for the `UNRELEASED` changes. +## [v0.5.4](https://www.npmjs.com/package/@intersect.mbo/pdf-ui/v/0.5.4) 2024-12-05 + +### Added - +### Fixed - +- Fix display Stake Address and Amount in Draft [Issue #2438](https://github.com/IntersectMBO/govtool/issues/2438) +- Fix Test Id names in review form [Issue #2437](https://github.com/IntersectMBO/govtool/issues/2437) +- Fix #2357 Display only last Inactive pool [Issue #2357](https://github.com/IntersectMBO/govtool/issues/2357) +### Changed - +### Removed - + ## [v0.5.3](https://www.npmjs.com/package/@intersect.mbo/pdf-ui/v/0.5.3) 2024-12-04 ### Added - diff --git a/pdf-ui/package-lock.json b/pdf-ui/package-lock.json index 31cb981..5accc2e 100644 --- a/pdf-ui/package-lock.json +++ b/pdf-ui/package-lock.json @@ -1,12 +1,12 @@ { "name": "@intersect.mbo/pdf-ui", - "version": "0.5.1", + "version": "0.5.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@intersect.mbo/pdf-ui", - "version": "0.5.1", + "version": "0.5.4", "dependencies": { "@emurgo/cardano-serialization-lib-asmjs": "^12.0.0-beta.2", "@fontsource/poppins": "^5.0.14", diff --git a/pdf-ui/package.json b/pdf-ui/package.json index 8835a18..d6608c4 100644 --- a/pdf-ui/package.json +++ b/pdf-ui/package.json @@ -1,6 +1,6 @@ { "name": "@intersect.mbo/pdf-ui", - "version": "0.5.3", + "version": "0.5.4", "description": "Proposal discussion ui", "main": "./src/index.js", "exports": { diff --git a/pdf-ui/src/components/CreationGoveranceAction/Step2.jsx b/pdf-ui/src/components/CreationGoveranceAction/Step2.jsx index b02c7f5..be24076 100644 --- a/pdf-ui/src/components/CreationGoveranceAction/Step2.jsx +++ b/pdf-ui/src/components/CreationGoveranceAction/Step2.jsx @@ -39,7 +39,7 @@ const Step2 = ({ const { setLoading } = useAppContext(); const [selectedGovActionName, setSelectedGovActionName] = useState( governanceActionTypes.find( - (option) => option?.value === proposalData?.gov_action_type_id + (option) => option?.value === +proposalData?.gov_action_type_id )?.label || '' ); diff --git a/pdf-ui/src/components/CreationGoveranceAction/Step3.jsx b/pdf-ui/src/components/CreationGoveranceAction/Step3.jsx index 6845615..58b2277 100644 --- a/pdf-ui/src/components/CreationGoveranceAction/Step3.jsx +++ b/pdf-ui/src/components/CreationGoveranceAction/Step3.jsx @@ -197,7 +197,7 @@ const Step3 = ({ {withdrawal.prop_receiving_address} @@ -213,7 +213,7 @@ const Step3 = ({ {withdrawal.prop_amount} diff --git a/pdf-ui/src/pages/ProposedGovernanceActions/SingleGovernanceAction/index.jsx b/pdf-ui/src/pages/ProposedGovernanceActions/SingleGovernanceAction/index.jsx index 5312af2..1ddb393 100644 --- a/pdf-ui/src/pages/ProposedGovernanceActions/SingleGovernanceAction/index.jsx +++ b/pdf-ui/src/pages/ProposedGovernanceActions/SingleGovernanceAction/index.jsx @@ -335,7 +335,7 @@ const SingleGovernanceAction = ({ id }) => { const fetchUnactivePolls = async () => { try { - const query = `filters[$and][0][proposal_id][$eq]=${proposal?.id}&filters[$and][1][is_poll_active]=false&pagination[page]=1&pagination[pageSize]=25&sort[createdAt]=desc`; + const query = `filters[$and][0][proposal_id][$eq]=${proposal?.id}&filters[$and][1][is_poll_active]=false&pagination[page]=1&pagination[pageSize]=1&sort[createdAt]=desc`; const { polls, pgCount, total } = await getPolls({ query: query }); if (!polls) return; setUnactivePollList(polls);