Skip to content

Commit

Permalink
Filter out fields that are not set as listed (#2954)
Browse files Browse the repository at this point in the history
Co-authored-by: Stuart Runyan <shrunyan@gmail.com>
  • Loading branch information
agalin920 and shrunyan authored Sep 25, 2024
1 parent 088c5c8 commit 3fa1041
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ export const ItemListTable = memo(({ loading, rows }: ItemListTableProps) => {
result = [
...result,
...fields
?.filter((field) => !field.deletedAt)
?.filter((field) => !field.deletedAt && field?.settings?.list)
?.map((field) => ({
field: field.name,
headerName: field.label,
Expand Down

0 comments on commit 3fa1041

Please sign in to comment.