Skip to content

Commit

Permalink
fix: now the attributes editor always using ordered merge, that preve…
Browse files Browse the repository at this point in the history
…nts table rows from shuffle
  • Loading branch information
vrozaev committed Feb 6, 2025
1 parent 4c84b01 commit 12c48cc
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -191,15 +191,14 @@ export function navigationSetNodeAttributes(
}

const prepareMergeParams = (path: string) => {
const sorted = ypath.getValue(attributesMap[path], '/@sorted');
return {
spec: Object.assign(
{
input_table_paths: [path],
output_table_path: path,
force_transform: true,
mode: 'ordered',
},
sorted ? {mode: 'sorted'} : {},
),
...EDIT_MERGE_MARKER,
};
Expand Down

0 comments on commit 12c48cc

Please sign in to comment.