diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/index.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/index.tsx index 5ab6a7b0938d5..2898b1e241f1e 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/index.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/index.tsx @@ -278,18 +278,23 @@ export const CreatePackagePolicySinglePage: CreatePackagePolicyParams = ({ ); } - const replaceStepConfigurePackagePolicy = replaceDefineStepView && packageInfo?.name && ( - - - - ); + const replaceStepConfigurePackagePolicy = + replaceDefineStepView && packageInfo?.name ? ( + !isInitialized ? ( + + ) : ( + + + + ) + ) : undefined; const stepConfigurePackagePolicy = useMemo( () =>