Describe relation in tooltip in add membership list

This commit is contained in:
Minh Nguyễn
2018-01-14 13:19:35 -08:00
parent e661281e38
commit 33817af2b7
+5
View File
@@ -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;
}