Files
twenty/packages
Sonarly Claude CodeandClaude Opus 4.6 dcd8ddb86f fix: resolve TypeError when sorting relations table by App column
The isCustom field is a boolean but was declared as fieldType 'string' in
the table metadata. When sorting by the App column, useSortedArray called
localeCompare on a boolean value, causing a TypeError crash. Changed the
fieldType to 'number' (JS boolean arithmetic works correctly for sorting)
and added defensive String() conversion in useSortedArray to prevent
similar type mismatch crashes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 18:54:02 +00:00
..
2026-02-18 23:34:36 +01:00
2026-02-18 23:34:36 +01:00