diff --git a/pkg/machines/components/vm/vmActions.jsx b/pkg/machines/components/vm/vmActions.jsx index 72270421674b..07e635b5998a 100644 --- a/pkg/machines/components/vm/vmActions.jsx +++ b/pkg/machines/components/vm/vmActions.jsx @@ -19,10 +19,10 @@ import cockpit from 'cockpit'; import React, { useState } from 'react'; import PropTypes from 'prop-types'; -import { Tooltip } from 'patternfly-react'; import { Button, Dropdown, DropdownItem, DropdownSeparator, KebabToggle, + Tooltip, } from '@patternfly/react-core'; import { @@ -132,15 +132,14 @@ const VmActions = ({ vm, dispatch, storagePools, onStart, onInstall, onReboot, o if (state !== undefined && LibvirtDBus.canDelete && LibvirtDBus.canDelete(state, vm.id)) { if (!vm.persistent) { dropdownItems.push( - - {_("This VM is transient. Shut it down if you wish to delete it.")} - } - isDisabled> - {_("Delete")} - + + + {_("Delete")} + + ); } else { dropdownItems.push(