diff --git a/client/src/app/pages/applications/analysis-wizard/set-targets.tsx b/client/src/app/pages/applications/analysis-wizard/set-targets.tsx index 5d7adca8f1..58f12f2fd2 100644 --- a/client/src/app/pages/applications/analysis-wizard/set-targets.tsx +++ b/client/src/app/pages/applications/analysis-wizard/set-targets.tsx @@ -6,6 +6,7 @@ import { Gallery, GalleryItem, Form, + Alert, } from "@patternfly/react-core"; import { useTranslation } from "react-i18next"; import { useFormContext } from "react-hook-form"; @@ -148,6 +149,16 @@ export const SetTargets: React.FC = () => { }} /> + {values.selectedTargets.length === 0 && + values.customRulesFiles.length === 0 && + !values.sourceRepository && ( + + )} + {targetOrderSetting.isSuccess ? targetOrderSetting.data.map((id, index) => {