From 33817af2b798eb8892c3c6415fda07c48e93956d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguy=E1=BB=85n?= Date: Sun, 14 Jan 2018 13:19:35 -0800 Subject: [PATCH] Describe relation in tooltip in add membership list --- modules/ui/raw_membership_editor.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/ui/raw_membership_editor.js b/modules/ui/raw_membership_editor.js index 9b67c79d6..e74f0b84b 100644 --- a/modules/ui/raw_membership_editor.js +++ b/modules/ui/raw_membership_editor.js @@ -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 { @@ -115,6 +116,10 @@ export function uiRawMembershipEditor(context) { }); }); + _forEach(result, function(obj) { + obj.title = obj.value; + }); + result.unshift(newRelation); return result; }