diff --git a/datahub-web-react/src/app/entityV2/shared/EntityDropdown/ExternalUrlMenuAction.tsx b/datahub-web-react/src/app/entityV2/shared/EntityDropdown/ExternalUrlMenuAction.tsx index 00cfa826ca..73cc82d0a5 100644 --- a/datahub-web-react/src/app/entityV2/shared/EntityDropdown/ExternalUrlMenuAction.tsx +++ b/datahub-web-react/src/app/entityV2/shared/EntityDropdown/ExternalUrlMenuAction.tsx @@ -11,6 +11,11 @@ export default function ExternalUrlMenuAction({ shouldFillAllAvailableSpace }: P const { urn: entityUrn, entityData } = useEntityData(); return ( - + ); } diff --git a/datahub-web-react/src/app/entityV2/shared/entity/EntityActions.tsx b/datahub-web-react/src/app/entityV2/shared/entity/EntityActions.tsx index 3446feabb5..ce13847ccc 100644 --- a/datahub-web-react/src/app/entityV2/shared/entity/EntityActions.tsx +++ b/datahub-web-react/src/app/entityV2/shared/entity/EntityActions.tsx @@ -262,6 +262,7 @@ function EntityActions(props: Props) { variant="outline" onClick={() => setIsBatchAddGlossaryTermModalVisible(true)} data-testid="glossary-batch-add" + size="sm" > Add to Assets @@ -273,6 +274,7 @@ function EntityActions(props: Props) { variant="outline" onClick={() => setIsBatchSetDomainModalVisible(true)} data-testid="domain-batch-add" + size="sm" > Add to Assets @@ -285,7 +287,7 @@ function EntityActions(props: Props) { placement="bottom" data-testid="data-product-batch-add" > - diff --git a/datahub-web-react/src/app/entityV2/summary/links/LinksList.tsx b/datahub-web-react/src/app/entityV2/summary/links/LinksList.tsx index 389ae7c120..a9a535a969 100644 --- a/datahub-web-react/src/app/entityV2/summary/links/LinksList.tsx +++ b/datahub-web-react/src/app/entityV2/summary/links/LinksList.tsx @@ -88,6 +88,8 @@ export default function LinksList() { handleConfirm={handleDelete} modalTitle="Confirm Delete" modalText="Are you sure you want to delete this link?" + confirmButtonText="Delete" + isDeleteModal /> {showEditLinkModal && ( ); diff --git a/datahub-web-react/src/app/sharedV2/modals/ConfirmationModal.tsx b/datahub-web-react/src/app/sharedV2/modals/ConfirmationModal.tsx index 27967d5594..d0cee7e709 100644 --- a/datahub-web-react/src/app/sharedV2/modals/ConfirmationModal.tsx +++ b/datahub-web-react/src/app/sharedV2/modals/ConfirmationModal.tsx @@ -36,6 +36,7 @@ interface Props { modalText?: string | React.ReactNode; closeButtonText?: string; confirmButtonText?: string; + isDeleteModal?: boolean; } export const ConfirmationModal = ({ @@ -46,6 +47,7 @@ export const ConfirmationModal = ({ modalText, closeButtonText, confirmButtonText, + isDeleteModal, }: Props) => { return ( {closeButtonText || 'Cancel'} -