fix type error
This commit is contained in:
@@ -277,7 +277,7 @@ function MembersIndicator({
|
||||
const humans = network?.humans ?? [];
|
||||
|
||||
const isNetworkWide = visibility.mode === 'network';
|
||||
const allMemberIds = visibility.humanIds;
|
||||
const allMemberIds = isNetworkWide ? humans.map((h) => h.id) : visibility.humanIds;
|
||||
const othersIds = isNetworkWide
|
||||
? []
|
||||
: allMemberIds.filter((id) => id != userId);
|
||||
|
||||
Reference in New Issue
Block a user