diff --git a/client/src/app/pages/applications/analysis-wizard/analysis-wizard.tsx b/client/src/app/pages/applications/analysis-wizard/analysis-wizard.tsx index 2c40a8c6c0..65db4a7afe 100644 --- a/client/src/app/pages/applications/analysis-wizard/analysis-wizard.tsx +++ b/client/src/app/pages/applications/analysis-wizard/analysis-wizard.tsx @@ -216,7 +216,6 @@ export const AnalysisWizard: React.FC = ({ const { mode, withKnownLibs, hasExcludedPackages } = values; const hasIncludedPackages = withKnownLibs.includes("select"); - const setupTaskgroup = ( currentTaskgroup: Taskgroup, fieldValues: AnalysisWizardFormValues diff --git a/client/src/app/pages/migration-targets/components/custom-target-form.tsx b/client/src/app/pages/migration-targets/components/custom-target-form.tsx index 12bbf8ba7f..9e7e5edab5 100644 --- a/client/src/app/pages/migration-targets/components/custom-target-form.tsx +++ b/client/src/app/pages/migration-targets/components/custom-target-form.tsx @@ -285,7 +285,7 @@ export const CustomTargetForm: React.FC = ({ description: formValues?.description?.trim() || "", ...(formValues.imageID && { image: { id: formValues.imageID } }), custom: true, - labels: labels.length ? labels : [{ name: "custom", label: "custom" }], + labels: labels.length ? labels : [], ruleset: { id: target && target.custom ? target.ruleset.id : undefined, name: formValues.name.trim(),