Skip to content

Commit d6b7495

Browse files
committed
Merge branch 'dev' into fix/staking-fix
2 parents d9c7ec6 + 4449e04 commit d6b7495

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

web/src/pages/Resolver/Parameters/Court.tsx

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,14 @@ const Court: React.FC = () => {
9090
) : (
9191
<StyledSkeleton width={240} height={42} />
9292
)}
93-
<StyledDropdownSelect
94-
items={disputeKitOptions}
95-
disabled={!disputeData.courtId}
96-
placeholder={{ text: "Select Dispute Kit" }}
97-
defaultValue={disputeData.disputeKitId ?? 1}
98-
callback={handleDisputeKitChange}
99-
/>
93+
{disputeData?.courtId && (
94+
<StyledDropdownSelect
95+
items={disputeKitOptions}
96+
placeholder={{ text: "Select Dispute Kit" }}
97+
defaultValue={disputeData.disputeKitId ?? 1}
98+
callback={handleDisputeKitChange}
99+
/>
100+
)}
100101
<AlertMessageContainer>
101102
<AlertMessage
102103
title="Check the courts available beforehand"

0 commit comments

Comments
 (0)