Fix error when trying to add a feature to a relation (close #6095)

This commit is contained in:
Quincy Morgan
2019-03-27 15:03:33 -04:00
parent 14475b19a1
commit 56cf7542be
+1 -1
View File
@@ -119,7 +119,7 @@ export function uiRawMembershipEditor(context) {
});
// Dedupe identical names by appending relation id - see #2891
var dupeGroups = _groupBy(result, 'value')
var dupeGroups = Object.values(_groupBy(result, 'value'))
.filter(function(v) { return v.length > 1; });
dupeGroups.forEach(function(group) {