Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3528011
D11248.id38196.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
520 B
Referenced Files
None
Subscribers
None
D11248.id38196.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Wed, Dec 25, 7:47 AM (7 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2701958
Default Alt Text
D11248.id38196.diff (520 B)
Attached To
Mode
D11248: [lib] Constrain dep list of `useRoleMemberCountsForCommunity` and `useRoleUserSurfacedPermissions`
Attached
Detach File
Event Timeline
Log In to Comment