Skip to content

Commit

Permalink
🐛 Capitalize first letter of tag source (#1815) (#1834)
Browse files Browse the repository at this point in the history
Resolves: https://issues.redhat.com/browse/MTA-2287

Signed-off-by: Radoslaw Szwajkowski <[email protected]>
Signed-off-by: Cherry Picker <[email protected]>

Signed-off-by: Radoslaw Szwajkowski <[email protected]>
Signed-off-by: Cherry Picker <[email protected]>
Co-authored-by: Radoslaw Szwajkowski <[email protected]>
  • Loading branch information
konveyor-ci-bot[bot] and rszwajko authored Apr 10, 2024
1 parent 57f41f9 commit 598ba04
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,10 @@ export const ApplicationTags: React.FC<ApplicationTagsProps> = ({
selectOptions: Array.from(sources)
.sort(compareSources)
.map((source) => source || "Manual")
.map((source) => ({ key: source, value: source })),
.map((source) => ({
value: source,
label: capitalizeFirstLetter(source),
})),
logicOperator: "OR",
},
{
Expand Down

0 comments on commit 598ba04

Please sign in to comment.