diff --git a/src/web/components/profile.ts b/src/web/components/profile.ts index 1d182af..67436b4 100644 --- a/src/web/components/profile.ts +++ b/src/web/components/profile.ts @@ -31,7 +31,6 @@ export async function renderProfile( handle: string, webUrl?: string, localOnly = false, - isLoggedIn = false, collections: string[] = [] ): Promise { // Local mode: sync, no API call. Remote mode: async with API call @@ -52,9 +51,9 @@ export async function renderProfile( ? `${escapeHtml(displayName)}` : `
` - // Service icons (only for logged-in users with matching collections) + // Service icons (show for users with matching collections) let serviceIconsHtml = '' - if (isLoggedIn && collections.length > 0) { + if (collections.length > 0) { const services = getServiceLinks(handle, collections) if (services.length > 0) { const iconsHtml = services.map(s => ` diff --git a/src/web/main.ts b/src/web/main.ts index 1707f72..8a3c278 100644 --- a/src/web/main.ts +++ b/src/web/main.ts @@ -175,7 +175,7 @@ async function render(route: Route): Promise { // Profile section if (profile) { - html += await renderProfile(did, profile, handle, webUrl, localOnly, isOwner, collections) + html += await renderProfile(did, profile, handle, webUrl, localOnly, collections) } // Content section based on route type