Skip to content

Commit

Permalink
WIP: Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vrigal committed Sep 7, 2023
1 parent 7c95ea1 commit aaeaa7a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ui/perfherder/alerts/AlertsView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,9 @@ class AlertsView extends React.Component {
const userInputArray = userInput.split(' ');

const repositories = projects.map(({ name }) => name);
const optionsCollection = Object.values(optionCollectionMap);
const optionsCollection = optionCollectionMap
? Object.values(optionCollectionMap)
: [];

const allNotSupportedFilters = [...repositories, ...optionsCollection];
return allNotSupportedFilters.filter((elem) =>
Expand Down

0 comments on commit aaeaa7a

Please sign in to comment.