fixed overshaddowed variable
This commit is contained in:
parent
7895451258
commit
0982fdeb24
|
@ -149,7 +149,7 @@ export default class TeamsMembershipUpdater extends React.Component<ITeamsMember
|
||||||
this.addError(err2.message, err2);
|
this.addError(err2.message, err2);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
res2.value = res2.value.sort((a, b) => a.displayName.localeCompare(b.displayName));
|
res2.value = res2.value.sort((a1, b1) => a1.displayName.localeCompare(b1.displayName));
|
||||||
this.setState({...this.state, selectionDetails: item, groupOwners: _owners, stage: Stage.Ready, privateChannels: res2.value.length === 0 ? [] : [{ key: 'null', text: strings.noChannel }].concat(res2.value.map(r => ({ key: r.id, text: r.displayName }))) });
|
this.setState({...this.state, selectionDetails: item, groupOwners: _owners, stage: Stage.Ready, privateChannels: res2.value.length === 0 ? [] : [{ key: 'null', text: strings.noChannel }].concat(res2.value.map(r => ({ key: r.id, text: r.displayName }))) });
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue