Skip to content

Commit

Permalink
Fix broken QE selector
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Bolton <ibolton@redhat.com>

revert change

Signed-off-by: Ian Bolton <ibolton@redhat.com>
  • Loading branch information
ibolton336 committed Jun 17, 2024
1 parent 22d308b commit d26381d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/src/app/api/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ export interface Target {
labels?: TargetLabel[];
image?: RulesetImage;
ruleset: Ruleset;
provider?: string[];
provider?: string;
}

export interface Metadata {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ export const SetTargets: React.FC<SetTargetsProps> = ({ applications }) => {
onChange={(selection) => {
setProvider(selection as string[]);
}}
toggleId="language-select-toggle"
toggleId="action-select-toggle"
/>
{values.selectedTargets.length === 0 &&
values.customRulesFiles.length === 0 &&
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ export const CustomTargetForm: React.FC<CustomTargetFormProps> = ({
},
}),
},
provider: [providerType] || ["Java"],
provider: providerType || "Java",
};

if (target) {
Expand Down

0 comments on commit d26381d

Please sign in to comment.