Skip to content

Commit

Permalink
Merge pull request #46 from IntersectMBO/qa
Browse files Browse the repository at this point in the history
From QA to PreProd
  • Loading branch information
nebojsact authored Dec 5, 2024
2 parents 9ca831b + 228c7e8 commit e5f0eaf
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 7 deletions.
10 changes: 10 additions & 0 deletions pdf-ui/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 -
Expand Down
4 changes: 2 additions & 2 deletions pdf-ui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pdf-ui/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion pdf-ui/src/components/CreationGoveranceAction/Step2.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 || ''
);

Expand Down
4 changes: 2 additions & 2 deletions pdf-ui/src/components/CreationGoveranceAction/Step3.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ const Step3 = ({
<Typography
variant='body1'
gutterBottom
data-testid='receiving-address-content'
data-testid='receiving-address-${index}-content'
>
{withdrawal.prop_receiving_address}
</Typography>
Expand All @@ -213,7 +213,7 @@ const Step3 = ({
<Typography
variant='body1'
gutterBottom
data-testid='amount-content'
data-testid='amount-${index}-content'
>
{withdrawal.prop_amount}
</Typography>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e5f0eaf

Please sign in to comment.