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