tangled
alpha
login
or
join now
flo-bit.dev
/
blento
21
fork
atom
your personal website on atproto - mirror
blento.app
21
fork
atom
overview
issues
pulls
pipelines
fix friends card
Florian
3 weeks ago
9057244d
043df1e8
+3
-3
2 changed files
expand all
collapse all
unified
split
src
lib
cards
social
FriendsCard
FriendsCard.svelte
website
Context.svelte
+2
-2
src/lib/cards/social/FriendsCard/FriendsCard.svelte
···
66
}
67
68
function getLink(profile: FriendsProfile): string {
69
-
if (profile.hasBlento && profile.handle && profile.handle !== 'handle.invalid') {
70
-
return `/${profile.handle}`;
71
}
72
if (profile.handle && profile.handle !== 'handle.invalid') {
73
return `https://bsky.app/profile/${profile.handle}`;
···
66
}
67
68
function getLink(profile: FriendsProfile): string {
69
+
if (profile.hasBlento && profile.url) {
70
+
return profile.url;
71
}
72
if (profile.handle && profile.handle !== 'handle.invalid') {
73
return `https://bsky.app/profile/${profile.handle}`;
+1
-1
src/lib/website/Context.svelte
···
20
setAdditionalUserData(data.additionalData);
21
22
setCanEdit(
23
-
() => dev || (user.isLoggedIn && user.profile?.did === data.did && isEditing === true)
24
);
25
26
// svelte-ignore state_referenced_locally
···
20
setAdditionalUserData(data.additionalData);
21
22
setCanEdit(
23
+
() => (dev && isEditing === true) || (user.isLoggedIn && user.profile?.did === data.did && isEditing === true)
24
);
25
26
// svelte-ignore state_referenced_locally