Skip to content

Commit

Permalink
Capitalize first letter of tag source
Browse files Browse the repository at this point in the history
Signed-off-by: Radoslaw Szwajkowski <[email protected]>
  • Loading branch information
rszwajko committed Apr 3, 2024
1 parent 953eb7f commit 760d4fa
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 760d4fa

Please sign in to comment.