Skip to content

Commit

Permalink
Fix Error field type rich text
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixMalfait committed Nov 25, 2024
1 parent 2e2b279 commit e099e4a
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,15 @@ export const isRecordMatchingFilter = ({
value: record[filterKey],
});
}
case FieldMetadataType.RichText: {
// TODO: Implement a better rich text filter once it becomes a composite field
// See this issue for more context: https://github.com/twentyhq/twenty/issues/7613#issuecomment-2408944585
// This should be tackled in Q4'24
return isMatchingStringFilter({
stringFilter: filterValue as StringFilter,
value: record[filterKey],
});
}
case FieldMetadataType.Select:
return isMatchingSelectFilter({
selectFilter: filterValue as SelectFilter,
Expand Down

0 comments on commit e099e4a

Please sign in to comment.