Skip to content

Commit

Permalink
Merge pull request #1337 from cassproject/ce-1336
Browse files Browse the repository at this point in the history
Specify CTID to replace references with when skipping duplicates
  • Loading branch information
gloverkari authored Oct 18, 2023
2 parents f8494d0 + c3a7ebd commit 82e8097
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions src/components/import/ImportFile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -552,10 +552,9 @@ export default {
if (set !== 'upload all') {
this.duplicateSets[i].duplicates.forEach((duplicate) => {
if (duplicate.ctid !== set && !duplicate.ctid.includes('upload all')) {
skip.push(duplicate.ctid);
if (duplicate.replaceWith) {
// Replace all instances of duplicate.ctid with duplicate.replaceWith in import file
}
skip.push({
ctid: duplicate.ctid,
replaceWith: set});
}
});
}
Expand Down
2 changes: 1 addition & 1 deletion src/lode/components/ThingEditing.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1324,7 +1324,7 @@ export default {
me.spitEvent('viewChanged');
}
} catch (ex) {
appError(err);
appError(ex);
me.errorSaving = true;
}
}
Expand Down

0 comments on commit 82e8097

Please sign in to comment.