Skip to content

Commit

Permalink
Merge branch 'main' into broken-analysis-download
Browse files Browse the repository at this point in the history
  • Loading branch information
ibolton336 authored Oct 3, 2023
2 parents 4a2a284 + 5c99540 commit a60e1c6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 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 @@ -305,6 +305,7 @@
"label": "Label",
"loading": "Loading",
"lowRisk": "Low risk",
"manualTags": "Manual Tags",
"maintainers": "Maintainers",
"mavenConfig": "Maven configuration",
"mediumRisk": "Medium risk",
Expand Down
3 changes: 2 additions & 1 deletion client/src/app/layout/HeaderApp/SSOMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ export const SSOMenu: React.FC = () => {
}} /** this user dropdown is hidden on mobile sizes */
>
<Dropdown
isPlain
onSelect={onDropdownSelect}
isOpen={isDropdownOpen}
toggle={(toggleRef) => (
<MenuToggle
isFullHeight
ref={toggleRef}
id="sso-actions-toggle"
onClick={() => onDropdownToggle(!isDropdownOpen)}
Expand Down Expand Up @@ -75,6 +75,7 @@ export const SSOMenu: React.FC = () => {
history.push("/");
})
.catch((err) => {
console.error("Logout failed:", err);
history.push("/");
});
}
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 a60e1c6

Please sign in to comment.