Skip to content

Commit

Permalink
Only add project to participant filter if non-null (#4147)
Browse files Browse the repository at this point in the history
  • Loading branch information
whitdog47 authored Dec 19, 2023
1 parent 359d240 commit 724748a
Showing 1 changed file with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,14 @@ export default {
}
if (props.project) {
if (Array.isArray(props.project) && props.project.length > 0) {
filterOptions = {
filters: {
project: props.project,
},
...filterOptions,
if (Array.isArray(props.project)) {
if (props.project.length > 0) {
filterOptions = {
filters: {
project: props.project,
},
...filterOptions,
}
}
} else {
filterOptions = {
Expand Down

0 comments on commit 724748a

Please sign in to comment.