Tweak profiles/search

This commit is contained in:
Jon Staab
2025-06-05 12:25:55 -07:00
parent ac756bf266
commit e3fbd69e6e
11 changed files with 58 additions and 55 deletions
+2 -2
View File
@@ -18,7 +18,7 @@
import SpaceCheck from "@app/components/SpaceCheck.svelte"
import ProfileCircles from "@app/components/ProfileCircles.svelte"
import {
membershipByPubkey,
membershipsByPubkey,
getMembershipUrls,
loadMembership,
userRoomsByUrl,
@@ -46,7 +46,7 @@
const scores = new Map<string, Set<string>>()
for (const pubkey of getDefaultPubkeys()) {
for (const url of getMembershipUrls($membershipByPubkey.get(pubkey))) {
for (const url of getMembershipUrls($membershipsByPubkey.get(pubkey))) {
addToMapKey(scores, url, pubkey)
}
}
+1 -1
View File
@@ -43,7 +43,7 @@
</label>
{/snippet}
{#snippet content()}
<div class="col-2" bind:this={element}>
<div class="col-2 h-full" bind:this={element}>
{#each pubkeys.slice(0, limit) as pubkey (pubkey)}
<PeopleItem {pubkey} />
{/each}