Skip to content

Commit 47dfbca

Browse files
authored
Merge pull request #4015 from IntersectMBO/develop
v2.0.33.3
2 parents f5d7a68 + bc6df24 commit 47dfbca

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

govtool/frontend/package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

govtool/frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"@hookform/resolvers": "^3.3.1",
3030
"@intersect.mbo/govtool-outcomes-pillar-ui": "v1.5.6",
3131
"@intersect.mbo/intersectmbo.org-icons-set": "^1.0.8",
32-
"@intersect.mbo/pdf-ui": "1.0.11-beta",
32+
"@intersect.mbo/pdf-ui": "1.0.13-beta",
3333
"@mui/icons-material": "^5.14.3",
3434
"@mui/material": "^5.14.4",
3535
"@noble/ed25519": "^2.3.0",

govtool/frontend/src/components/organisms/DashboardGovernanceActionDetails.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export const DashboardGovernanceActionDetails = () => {
101101
useEffect(() => {
102102
const isProposalNotFound =
103103
error instanceof AxiosError &&
104-
error.response?.data.match(/Proposal with id: .* not found/);
104+
error.response?.data.message.match(/Proposal with id: .* not found/);
105105
if (isProposalNotFound && fullProposalId) {
106106
navigate(
107107
OUTCOMES_PATHS.governanceActionOutcomes.replace(":id", fullProposalId),

govtool/frontend/src/pages/GovernanceActionDetails.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export const GovernanceActionDetails = () => {
9595
useEffect(() => {
9696
const isProposalNotFound =
9797
error instanceof AxiosError &&
98-
error.response?.data.match(/Proposal with id: .* not found/);
98+
error.response?.data.message.match(/Proposal with id: .* not found/);
9999
if (isProposalNotFound && fullProposalId) {
100100
navigate(
101101
OUTCOMES_PATHS.governanceActionOutcomes.replace(":id", fullProposalId),

0 commit comments

Comments
 (0)