Skip to content

Commit

Permalink
🐛 Allow multiple business services to be selectedin filter (#1549)
Browse files Browse the repository at this point in the history
https://issues.redhat.com/browse/MTA-1393

Signed-off-by: ibolton336 <ibolton@redhat.com>
  • Loading branch information
ibolton336 committed Nov 16, 2023
1 parent c376994 commit eabf222
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ export const ApplicationsTable: React.FC = () => {
t("actions.filterBy", {
what: t("terms.businessService").toLowerCase(),
}) + "...",
type: FilterType.select,
type: FilterType.multiselect,
selectOptions: dedupeFunction(
applications
.filter((app) => !!app.businessService?.name)
Expand Down
2 changes: 1 addition & 1 deletion client/src/app/pages/issues/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export const useSharedAffectedApplicationFilterCategories = <
t("actions.filterBy", {
what: t("terms.businessService").toLowerCase(),
}) + "...",
type: FilterType.select,
type: FilterType.multiselect,
selectOptions: businessServices
.map((businessService) => businessService.name)
.map((name) => ({ key: name, value: name })),
Expand Down

0 comments on commit eabf222

Please sign in to comment.