Skip to content

Commit e59f497

Browse files
fix(ui) Fix submitting when selecting replacement in deprecation modal (#12842)
1 parent c73b666 commit e59f497

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

datahub-web-react/src/app/entityV2/shared/EntityDropdown/UpdateDeprecationModal.tsx

+6-1
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,12 @@ export const UpdateDeprecationModal = ({ urns, resourceRefs, onClose, refetch, z
179179
</Button>
180180
)}
181181
{!replacementUrn && (
182-
<Button variant="outline" size="sm" onClick={() => setIsReplacementModalVisible(true)}>
182+
<Button
183+
variant="outline"
184+
type="button"
185+
size="sm"
186+
onClick={() => setIsReplacementModalVisible(true)}
187+
>
183188
Select Replacement
184189
</Button>
185190
)}

0 commit comments

Comments
 (0)