Skip to content

Commit

Permalink
🐛 Capitalize first letter of tag source (#1815)
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]>
  • Loading branch information
rszwajko authored Apr 9, 2024
1 parent d84d176 commit ea23163
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 ea23163

Please sign in to comment.