Skip to content

Commit

Permalink
Merge pull request #4694 from openstreetmap/1ec5-membership-title-4565
Browse files Browse the repository at this point in the history
Describe relation in tooltip in add membership list
  • Loading branch information
bhousel authored Jan 23, 2018
2 parents 799204c + 33817af commit 9cf3630
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions modules/ui/raw_membership_editor.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import _extend from 'lodash-es/extend';
import _filter from 'lodash-es/filter';
import _forEach from 'lodash-es/forEach';
import _groupBy from 'lodash-es/groupBy';

import {
Expand Down Expand Up @@ -115,6 +116,10 @@ export function uiRawMembershipEditor(context) {
});
});

_forEach(result, function(obj) {
obj.title = obj.value;
});

result.unshift(newRelation);
return result;
}
Expand Down

0 comments on commit 9cf3630

Please sign in to comment.