mirror of
https://github.com/wekan/wekan.git
synced 2026-01-03 16:18:49 +01:00
Edit team/org DisplayName now update users.teams.teamDisplayName/users.orgs.orgDisplayName
This commit is contained in:
parent
dc04beb61f
commit
b876098dc4
3 changed files with 45 additions and 1 deletions
|
|
@ -149,8 +149,9 @@ if (Meteor.isServer) {
|
|||
check(org, Object);
|
||||
check(orgDisplayName, String);
|
||||
Org.update(org, {
|
||||
$set: { orgDisplayName: orgDisplayNameorgShortName },
|
||||
$set: { orgDisplayName: orgDisplayName },
|
||||
});
|
||||
Meteor.call('setUsersOrgsOrgDisplayName', org._id, orgDisplayName);
|
||||
}
|
||||
},
|
||||
|
||||
|
|
@ -208,6 +209,7 @@ if (Meteor.isServer) {
|
|||
orgIsActive: orgIsActive,
|
||||
},
|
||||
});
|
||||
Meteor.call('setUsersOrgsOrgDisplayName', org._id, orgDisplayName);
|
||||
}
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue