diff --git a/src/components/import/ImportFile.vue b/src/components/import/ImportFile.vue index 932f6741f..2eb949b40 100644 --- a/src/components/import/ImportFile.vue +++ b/src/components/import/ImportFile.vue @@ -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}); } }); } diff --git a/src/lode/components/ThingEditing.vue b/src/lode/components/ThingEditing.vue index a6feb3b34..88abbe614 100644 --- a/src/lode/components/ThingEditing.vue +++ b/src/lode/components/ThingEditing.vue @@ -1324,7 +1324,7 @@ export default { me.spitEvent('viewChanged'); } } catch (ex) { - appError(err); + appError(ex); me.errorSaving = true; } }