Skip to content

Commit abf4441

Browse files
committed
Remove unnecessary deleteModalContent
1 parent 8478b3d commit abf4441

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

x-pack/plugins/transform/public/app/sections/transform_management/components/action_delete/delete_action_modal.tsx

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -85,19 +85,6 @@ export const DeleteActionModal: FC<DeleteAction> = ({
8585

8686
const deleteModalContent = (
8787
<>
88-
<p>
89-
{items[0] && items[0] && items[0].stats.state === TRANSFORM_STATE.FAILED ? (
90-
<FormattedMessage
91-
id="xpack.transform.transformList.forceDeleteModalBody"
92-
defaultMessage="Force delete this transform? The transform will be deleted regardless of its current state."
93-
/>
94-
) : (
95-
<FormattedMessage
96-
id="xpack.transform.transformList.deleteModalBody"
97-
defaultMessage="Delete this transform?"
98-
/>
99-
)}
100-
</p>
10188
<EuiFlexGroup direction="column" gutterSize="none">
10289
<EuiFlexItem>
10390
{userCanDeleteIndex && (

0 commit comments

Comments
 (0)