diff --git a/packages/forklift-console-plugin/src/modules/Plans/actions/PlanActionsDropdownItems.tsx b/packages/forklift-console-plugin/src/modules/Plans/actions/PlanActionsDropdownItems.tsx index 3d22954f5..541d95c15 100644 --- a/packages/forklift-console-plugin/src/modules/Plans/actions/PlanActionsDropdownItems.tsx +++ b/packages/forklift-console-plugin/src/modules/Plans/actions/PlanActionsDropdownItems.tsx @@ -21,6 +21,7 @@ import { isPlanArchived, isPlanExecuting, PlanData, + PlanPhase, } from '../utils'; export const PlanActionsDropdownItems = ({ data }: PlanActionsDropdownItemsProps) => { @@ -93,7 +94,9 @@ export const PlanActionsDropdownItems = ({ data }: PlanActionsDropdownItemsProps {t('Archive Plan')} diff --git a/packages/forklift-console-plugin/src/modules/Plans/modals/ArchiveModal.tsx b/packages/forklift-console-plugin/src/modules/Plans/modals/ArchiveModal.tsx index e99fbf42c..805573071 100644 --- a/packages/forklift-console-plugin/src/modules/Plans/modals/ArchiveModal.tsx +++ b/packages/forklift-console-plugin/src/modules/Plans/modals/ArchiveModal.tsx @@ -8,7 +8,7 @@ import { PlanModel, V1beta1Plan } from '@kubev2v/types'; import { K8sModel, k8sPatch } from '@openshift-console/dynamic-plugin-sdk'; import { Alert, Button, Modal, ModalVariant } from '@patternfly/react-core'; -import { getPlanPhase } from '../utils'; +import { getPlanPhase, PlanPhase } from '../utils'; /** * Props for the DeleteModal component @@ -70,7 +70,7 @@ export const ArchiveModal: React.FC = ({ title, resource, red const actions = [