Skip to content

Commit

Permalink
remove from enhanced records
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielleInkster committed Oct 1, 2024
1 parent 2690e5a commit 2253ae3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openlibrary/components/MergeUI/MergeTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,8 @@ export default {
if (!this.master_key || !this.records || !this.editions)
return undefined;
const master = this.enhancedRecords.find(r => r.key === this.master_key);
const all_dupes = this.enhancedRecords
const master = this.records.find(r => r.key === this.master_key);
const all_dupes = this.records
.filter(r => this.selected[r.key])
.filter(r => r.key !== this.master_key);
const dupes = all_dupes.filter(r => r.type.key === '/type/work');
Expand Down

0 comments on commit 2253ae3

Please sign in to comment.