Skip to content

Commit

Permalink
Merge pull request #1819 from IntersectMBO/fix/1600-hardfork-initiati…
Browse files Browse the repository at this point in the history
…on-details

[#1600] hide hardfork initiation details outside details tab
  • Loading branch information
MSzalowski authored Aug 26, 2024
2 parents 1fdc652 + 1b4e2df commit 7784260
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ export const GovernanceActionDetailsCardData = ({
)}

{details &&
type !== GovernanceActionType.HardForkInitiation &&
Object.keys(details).length !== 0 &&
Object.entries(details).map(([detailLabel, content]) => (
<GovernanceActionCardElement
Expand Down Expand Up @@ -312,7 +313,7 @@ const HardforkDetailsTabContent = ({
const { t } = useTranslation();

return (
<Box sx={{ display: "flex", flexDirection: "column", gap: 3 }}>
<Box sx={{ display: "flex", flexDirection: "column", gap: 3, pb: 3 }}>
<Box sx={{ display: "flex", flexDirection: "column", gap: 1.5 }}>
<Typography variant="body2">
{t("govActions.hardforkDetails.currentVersion")}
Expand Down

0 comments on commit 7784260

Please sign in to comment.