Skip to content

Commit

Permalink
[C] Add guard
Browse files Browse the repository at this point in the history
  • Loading branch information
1aurend committed Jan 30, 2025
1 parent 05071d7 commit d2f4d6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/global/components/list/Filters/types/sort.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const sortFilter = (filters, updateFilters, params, t) => {
const includePublished = params.entityType === "project";
const includePublished = params?.entityType === "project";

return {
label: t("filters.labels.sort_results"),
Expand Down

0 comments on commit d2f4d6b

Please sign in to comment.