Skip to content

Commit

Permalink
fix missing sort in sql component clone
Browse files Browse the repository at this point in the history
  • Loading branch information
vieiralucas committed Jan 31, 2025
1 parent 617fb2f commit b23394f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/editor/src/component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ export function updateBlockFromComponent(
dataSourceId: compAttrs.dataSourceId,
isFileDataSource: compAttrs.isFileDataSource,
configuration: clone(compAttrs.configuration),
sort: clone(compAttrs.sort),
}
for (const [key, value] of Object.entries(nextAttrs)) {
block.setAttribute(
Expand Down

0 comments on commit b23394f

Please sign in to comment.