summaryrefslogtreecommitdiff
path: root/public/gallery.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/gallery.js')
-rw-r--r--public/gallery.js9
1 files changed, 3 insertions, 6 deletions
diff --git a/public/gallery.js b/public/gallery.js
index 009eb1e..19d63bb 100644
--- a/public/gallery.js
+++ b/public/gallery.js
@@ -336,12 +336,9 @@ let DuplicatesList = {
if (DuplicatesModel.entries.length == 0)
return "No duplicates"
- return m('.duplicates', {}, DuplicatesModel.entries.map(entry =>
- m('.row', [
- m(DuplicatesThumbnail, {info: entry.main}),
- entry.similar.map(entry =>
- m(DuplicatesThumbnail, {info: entry})),
- ]),
+ return m('.duplicates', {}, DuplicatesModel.entries.map(group =>
+ m('.row', group.map(entry =>
+ m(DuplicatesThumbnail, {info: entry}))),
))
},
}