Skip to content

Commit

Permalink
Merge branch 'main' into mta-1324
Browse files Browse the repository at this point in the history
  • Loading branch information
ibolton336 authored Oct 3, 2023
2 parents dbccb66 + 5c99540 commit 1016fde
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions client/public/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@
"label": "Label",
"loading": "Loading",
"lowRisk": "Low risk",
"manualTags": "Manual Tags",
"maintainers": "Maintainers",
"mavenConfig": "Maven configuration",
"mediumRisk": "Medium risk",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export const ApplicationForm: React.FC<ApplicationFormProps> = ({

const nonManualTags = application?.tags?.filter((t) => t.source !== "") ?? [];

// TODO: Filter this if we want to exclude non-manual tags from manual tag selection
// Allow all tags to be selected manually, even if they are included from another source
const allowedManualTags = tags;

const getBinaryInitialValue = (
Expand Down Expand Up @@ -364,7 +364,7 @@ export const ApplicationForm: React.FC<ApplicationFormProps> = ({
items={allowedManualTags}
control={control}
name="tags"
label={t("terms.tags")}
label={t("terms.manualTags")}
fieldId="tags"
noResultsMessage={t("message.noResultsFoundTitle")}
placeholderText={t("composed.selectMany", {
Expand Down

0 comments on commit 1016fde

Please sign in to comment.