Skip to content

Commit

Permalink
fix: experience timeline (#839)
Browse files Browse the repository at this point in the history
* fix: handle empty selectedTimelineIds when creating post

* fix: experience timeline

---------

Co-authored-by: Abdul Hakim <[email protected]>
  • Loading branch information
abdulhakim2902 and abdulhakim2902 authored Apr 7, 2023
1 parent 65d9c63 commit 44dde19
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/services/filter-builder.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1730,6 +1730,10 @@ export class FilterBuilderService {
}
}

if (timelineFilter.length === 0) {
return {id: ''};
}

return {
or: timelineFilter,
};
Expand Down

0 comments on commit 44dde19

Please sign in to comment.