mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-22 00:07:03 +02:00
Fix error when trying to add a feature to a relation (close #6095)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user