From ea367ae8ca22a26ec782ec82c24bf306d4fbe08d Mon Sep 17 00:00:00 2001 From: Ignacio Rivas Date: Mon, 13 Dec 2021 12:12:21 +0200 Subject: [PATCH] Remove test code --- .../application/components/overview/backup_step/backup_step.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/overview/backup_step/backup_step.tsx b/x-pack/plugins/upgrade_assistant/public/application/components/overview/backup_step/backup_step.tsx index 253e7d4a2bb7c..1825b04717311 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/components/overview/backup_step/backup_step.tsx +++ b/x-pack/plugins/upgrade_assistant/public/application/components/overview/backup_step/backup_step.tsx @@ -25,7 +25,7 @@ interface Props extends OverviewStepProps { const BackupStep = ({ cloud, setIsComplete }: Omit) => { const [forceOnPremStep, setForceOnPremStep] = useState(false); - if (!cloud?.isCloudEnabled && !forceOnPremStep) { + if (cloud?.isCloudEnabled && !forceOnPremStep) { return (