Skip to content

Commit

Permalink
fix when first check conflict and auto override, the result are creat…
Browse files Browse the repository at this point in the history
…ed new but display they are overriden

Signed-off-by: yujin-emma <yujin.emma.work@gmail.com>
  • Loading branch information
yujin-emma committed Feb 6, 2024
1 parent 7a2b14a commit b392d82
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ export async function checkConflictsForDataSource({
const omitOriginId = ignoreRegularConflicts;
const rawId = parts[1];
importIdMap.set(`${type}:${id}`, { id: `${dataSourceId}_${rawId}`, omitOriginId });
pendingOverwrites.add(`${type}:${id}`);
filteredObjects.push({ ...object, id: `${dataSourceId}_${rawId}` });
} else {
// not override
Expand Down

0 comments on commit b392d82

Please sign in to comment.