mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-27 02:16:18 +00:00
fix the missing close icon from modal (#8112)
This commit is contained in:
parent
c7f1c56c94
commit
ced5909bc5
@ -203,6 +203,7 @@ const EditTestCaseModal: React.FC<EditTestCaseModalProps> = ({
|
||||
form.resetFields();
|
||||
onCancel();
|
||||
}}
|
||||
closable={false}
|
||||
okText="Submit"
|
||||
title={`Edit ${testCase?.name}`}
|
||||
visible={visible}
|
||||
|
@ -639,6 +639,7 @@ const AuthMechanismForm: FC<Props> = ({
|
||||
<Modal
|
||||
centered
|
||||
destroyOnClose
|
||||
closable={false}
|
||||
okText="Confirm"
|
||||
title="Are you sure?"
|
||||
visible={isConfirmationModalOpen}
|
||||
|
@ -93,6 +93,7 @@ const AddAnnouncementModal: FC<Props> = ({
|
||||
<Modal
|
||||
centered
|
||||
className="announcement-modal"
|
||||
closable={false}
|
||||
confirmLoading={isLoading}
|
||||
data-testid="add-announcement"
|
||||
okButtonProps={{
|
||||
|
@ -75,6 +75,7 @@ const EditAnnouncementModal: FC<Props> = ({
|
||||
<Modal
|
||||
centered
|
||||
className="announcement-modal"
|
||||
closable={false}
|
||||
data-testid="edit-announcement"
|
||||
okButtonProps={{
|
||||
form: 'announcement-form',
|
||||
|
@ -183,6 +183,7 @@ const ProfilerSettingsModal: React.FC<ProfilerSettingsModalProps> = ({
|
||||
cancelButtonProps={{
|
||||
type: 'link',
|
||||
}}
|
||||
closable={false}
|
||||
data-testid="profiler-settings-modal"
|
||||
maskClosable={false}
|
||||
okText="Save"
|
||||
|
@ -1167,6 +1167,7 @@ const TeamDetailsV1 = ({
|
||||
{selectedEntity && (
|
||||
<Modal
|
||||
centered
|
||||
closable={false}
|
||||
okText="Confirm"
|
||||
title={`Remove ${getEntityName(
|
||||
selectedEntity.record
|
||||
|
@ -289,6 +289,7 @@ const UserListV1: FC<UserListV1Props> = ({
|
||||
type: 'link',
|
||||
}}
|
||||
className="reactive-modal"
|
||||
closable={false}
|
||||
okText="Restore"
|
||||
title="restore User"
|
||||
visible={showReactiveModal}
|
||||
|
@ -23,6 +23,7 @@ const ChangePasswordForm: React.FC<ChangePasswordForm> = ({
|
||||
return (
|
||||
<Modal
|
||||
centered
|
||||
closable={false}
|
||||
okButtonProps={{
|
||||
form: 'change-password-form',
|
||||
type: 'primary',
|
||||
|
@ -218,6 +218,7 @@ const DeleteWidgetModal = ({
|
||||
|
||||
return (
|
||||
<Modal
|
||||
closable={false}
|
||||
data-testid="delete-modal"
|
||||
footer={Footer()}
|
||||
okText="Delete"
|
||||
|
@ -40,6 +40,7 @@ const ReIndexAllModal = ({
|
||||
return (
|
||||
<Modal
|
||||
centered
|
||||
closable={false}
|
||||
confirmLoading={confirmLoading}
|
||||
okButtonProps={{
|
||||
form: 're-index-form',
|
||||
|
@ -616,6 +616,7 @@ const PoliciesDetailPage = () => {
|
||||
{selectedEntity && (
|
||||
<Modal
|
||||
centered
|
||||
closable={false}
|
||||
okText="Confirm"
|
||||
title={`Remove ${getEntityName(
|
||||
selectedEntity.record
|
||||
|
@ -440,6 +440,7 @@ const RolesDetailPage = () => {
|
||||
{selectedEntity && (
|
||||
<Modal
|
||||
centered
|
||||
closable={false}
|
||||
okText="Confirm"
|
||||
title={`Remove ${getEntityName(
|
||||
selectedEntity.record
|
||||
|
@ -41,6 +41,7 @@ const CommentModal: FC<CommentModalProps> = ({
|
||||
type: 'link',
|
||||
className: 'ant-btn-link-custom',
|
||||
}}
|
||||
closable={false}
|
||||
data-testid="comment-modal"
|
||||
okButtonProps={{
|
||||
disabled: !comment,
|
||||
|
@ -76,6 +76,7 @@ const AddTeamForm: React.FC<AddTeamFormType> = ({
|
||||
return (
|
||||
<Modal
|
||||
centered
|
||||
closable={false}
|
||||
okButtonProps={{
|
||||
form: 'add-team-form',
|
||||
type: 'primary',
|
||||
|
@ -14,10 +14,6 @@
|
||||
border-top: 1px solid #dde3ea;
|
||||
}
|
||||
|
||||
.ant-modal-close {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.ant-modal-footer .ant-btn-default {
|
||||
border: none;
|
||||
color: #7147e8;
|
||||
|
Loading…
x
Reference in New Issue
Block a user