mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-03 18:50:30 +08:00
Parallelize org member queries
Signed-off-by: Alexis Sellier <self@cloudhead.io>
This commit is contained in:
@@ -229,18 +229,19 @@
|
||||
{:then members}
|
||||
{#if members.length > 0}
|
||||
<div class="members">
|
||||
{#each members as address}
|
||||
{#await Profile.get(address, ProfileType.Minimal, config)}
|
||||
<Loading small />
|
||||
{:then profile}
|
||||
{#await Profile.getMulti(members, config)}
|
||||
<Loading small />
|
||||
{:then members}
|
||||
{#each members as profile}
|
||||
<div class="member">
|
||||
<div class="member-icon">
|
||||
<Avatar source={profile.avatar ?? address} />
|
||||
<Avatar source={profile.avatar ?? profile.address} />
|
||||
</div>
|
||||
<Address {address} compact resolve noAvatar {profile} {config} />
|
||||
<Address address={profile.address} compact
|
||||
resolve noAvatar {profile} {config} />
|
||||
</div>
|
||||
{/await}
|
||||
{/each}
|
||||
{/each}
|
||||
{/await}
|
||||
</div>
|
||||
{/if}
|
||||
{/await}
|
||||
|
||||
Reference in New Issue
Block a user