Page MenuHomePhabricator

D11248.id38196.diff
No OneTemporary

D11248.id38196.diff

diff --git a/lib/shared/thread-utils.js b/lib/shared/thread-utils.js
--- a/lib/shared/thread-utils.js
+++ b/lib/shared/thread-utils.js
@@ -1696,7 +1696,7 @@
});
return roleNamesToMemberCount;
- }, [threadInfo]);
+ }, [threadInfo.members, threadInfo.roles]);
}
type RoleUserSurfacedPermissions = {
@@ -1735,7 +1735,7 @@
});
return roleNamesToPermissions;
- }, [threadInfo]);
+ }, [threadInfo.roles]);
}
function communityOrThreadNoun(threadInfo: RawThreadInfo | ThreadInfo): string {

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 26, 3:56 PM (21 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2585401
Default Alt Text
D11248.id38196.diff (520 B)

Event Timeline