['Version 5.58' Admin panel / People] possibility of adding a team to all selected Users

This commit is contained in:
Emile NDAGIJIMANA 2021-09-06 21:43:38 +02:00
parent b516275c24
commit 0a9e10b21e
2 changed files with 12877 additions and 1 deletions

View file

@ -442,7 +442,7 @@ BlazeComponent.extendComponent({
for(let i = 0; i < selectedUserChkBoxUserIds.length; i++){
currentUser = Users.findOne(selectedUserChkBoxUserIds[i]);
userTms = currentUser.teams;
if(userTms == undefined || userTms == []){
if(userTms == undefined || userTms.length == 0){
userTms = [];
userTms.push({
"teamId": selectedEltValueId,

12876
package-lock.json.orig Normal file

File diff suppressed because it is too large Load diff