fix memberDict reference
This commit is contained in:
parent
7296cbfd5b
commit
93d81d27ba
|
@ -35,9 +35,13 @@ module.exports = React.createClass({
|
|||
makeMemberTiles: function() {
|
||||
var MemberTile = sdk.getComponent("molecules.MemberTile");
|
||||
|
||||
if (!self.memberDict) {
|
||||
return null;
|
||||
}
|
||||
|
||||
var self = this;
|
||||
return Object.keys(self.state.memberDict).map(function(userId) {
|
||||
var m = self.state.memberDict[userId];
|
||||
return Object.keys(self.memberDict).map(function(userId) {
|
||||
var m = self.memberDict[userId];
|
||||
return (
|
||||
<MemberTile key={userId} member={m} ref={userId} />
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue