Commit c40a1c43 authored by Anthony Geourjon's avatar Anthony Geourjon

Merge branch '13-ajout-utilisateur-dans-projet-ou-groupe' into 'master'

Resolve "Ajout utilisateur dans projet ou groupe"

Closes #13

See merge request !64
parents 5f8d6f20 4b84d9d1
Pipeline #34855 passed with stage
in 55 seconds
......@@ -43,7 +43,7 @@ root.controller('NewMemberCtrl', ['$scope', '$http', '$dropListFactory', '$state
if (newMemberCtrl.confirmInfos && (!user.firstName || !user.lastName)) return;
addProjetMembers([{
email: user.email.split("(")[0],
email: user.email.split("|")[1],
firstName: user.firstName,
lastName: user.lastName,
positionId: 0
......@@ -74,7 +74,7 @@ root.controller('NewMemberCtrl', ['$scope', '$http', '$dropListFactory', '$state
if (data.details.length && data.details[0].login != "0") {
newMemberCtrl.confirmInfos = false;
var pos = newMemberCtrl.usersList.map(function (item) {
return item.email + " (" + item.firstName + " " + item.lastName + ")"
return item.email + " ( " + item.firstName + " " + item.lastName + " ) "
});
var users = new Bloodhound({
datumTokenizer: Bloodhound.tokenizers.whitespace,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment