Skip to content

Commit

Permalink
Fixed position in query fields (twentyhq#5036)
Browse files Browse the repository at this point in the history
Position was not passed to the request query fields so it changed every
time we updated a field.
  • Loading branch information
lucasbordeau authored Apr 18, 2024
1 parent df49575 commit dc91d06
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export const useRecordTableQueryFields = () => {
...Object.fromEntries(
visibleTableColumns.map((column) => [column.metadata.fieldName, true]),
),
position: true,
};

return queryFields;
Expand Down

0 comments on commit dc91d06

Please sign in to comment.