Skip to content

Commit

Permalink
Remove unnecessary deleteModalContent
Browse files Browse the repository at this point in the history
  • Loading branch information
lcawl committed Aug 27, 2020
1 parent 8478b3d commit abf4441
Showing 1 changed file with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,19 +85,6 @@ export const DeleteActionModal: FC<DeleteAction> = ({

const deleteModalContent = (
<>
<p>
{items[0] && items[0] && items[0].stats.state === TRANSFORM_STATE.FAILED ? (
<FormattedMessage
id="xpack.transform.transformList.forceDeleteModalBody"
defaultMessage="Force delete this transform? The transform will be deleted regardless of its current state."
/>
) : (
<FormattedMessage
id="xpack.transform.transformList.deleteModalBody"
defaultMessage="Delete this transform?"
/>
)}
</p>
<EuiFlexGroup direction="column" gutterSize="none">
<EuiFlexItem>
{userCanDeleteIndex && (
Expand Down

0 comments on commit abf4441

Please sign in to comment.