your personal website on atproto - mirror blento.app

fix friends card

Florian 9057244d 043df1e8

+3 -3
+2 -2
src/lib/cards/social/FriendsCard/FriendsCard.svelte
··· 66 66 } 67 67 68 68 function getLink(profile: FriendsProfile): string { 69 - if (profile.hasBlento && profile.handle && profile.handle !== 'handle.invalid') { 70 - return `/${profile.handle}`; 69 + if (profile.hasBlento && profile.url) { 70 + return profile.url; 71 71 } 72 72 if (profile.handle && profile.handle !== 'handle.invalid') { 73 73 return `https://bsky.app/profile/${profile.handle}`;
+1 -1
src/lib/website/Context.svelte
··· 20 20 setAdditionalUserData(data.additionalData); 21 21 22 22 setCanEdit( 23 - () => dev || (user.isLoggedIn && user.profile?.did === data.did && isEditing === true) 23 + () => (dev && isEditing === true) || (user.isLoggedIn && user.profile?.did === data.did && isEditing === true) 24 24 ); 25 25 26 26 // svelte-ignore state_referenced_locally