Skip to content

Commit 4cc1172

Browse files
committed
Fix broken QE selector
Signed-off-by: Ian Bolton <[email protected]> revert change Signed-off-by: Ian Bolton <[email protected]>
1 parent 582c39e commit 4cc1172

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

client/src/app/api/models.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ export interface Target {
425425
labels?: TargetLabel[];
426426
image?: RulesetImage;
427427
ruleset: Ruleset;
428-
provider?: string[];
428+
provider?: string;
429429
}
430430

431431
export interface Metadata {

client/src/app/pages/applications/analysis-wizard/set-targets.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ export const SetTargets: React.FC<SetTargetsProps> = ({ applications }) => {
184184
onChange={(selection) => {
185185
setProvider(selection as string[]);
186186
}}
187-
toggleId="language-select-toggle"
187+
toggleId="action-select-toggle"
188188
/>
189189
{values.selectedTargets.length === 0 &&
190190
values.customRulesFiles.length === 0 &&

client/src/app/pages/migration-targets/components/custom-target-form.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ export const CustomTargetForm: React.FC<CustomTargetFormProps> = ({
307307
},
308308
}),
309309
},
310-
provider: [providerType] || ["Java"],
310+
provider: providerType || "Java",
311311
};
312312

313313
if (target) {

0 commit comments

Comments
 (0)