Skip to content

Commit

Permalink
coderabiitai change
Browse files Browse the repository at this point in the history
  • Loading branch information
Rishith25 committed Jan 10, 2025
1 parent 7e25a9b commit 57c8e5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export const parseOptionId: (
humanizeStrings(
options
.filter((option) => {
return id instanceof Array
return Array.isArray(id)
? id.map((i) => String(i)).includes(String(option.id))
: String(option.id) === String(id);
})
Expand Down

0 comments on commit 57c8e5a

Please sign in to comment.