falsy check in createFilterByClause
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
This commit is contained in:
@@ -204,7 +204,7 @@ function createFilterByClause(filterBy?: IssuesFilters): string {
|
||||
|
||||
return Object.entries(filterBy)
|
||||
.flatMap(([field, value]) => {
|
||||
if (typeof value === 'undefined') {
|
||||
if (!value) {
|
||||
return [];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user