Skip to content

Commit 738c1a9

Browse files
authored
Merge pull request #40 from SolidLabResearch/default_user_image
default image for logged in user
2 parents e5d4877 + ce8fd7a commit 738c1a9

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
2828
- Add button to remove access from resource for subject
2929
- Change components so everything uses typescript
3030
- Add pinia store for external state management in loama
31+
- Add default image for logged in user

loama/public/profile.svg

Lines changed: 1 addition & 0 deletions
Loading

solid-common-lib/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export async function getProfileInfo(
8181
const mbox = getUrl(profileThing, Schema.mbox) ?? "";
8282
const description =
8383
getStringWithLocale(profileThing, Schema.description, "en-us") ?? "";
84-
const img = getUrl(profileThing, Schema.img) ?? "";
84+
const img = getUrl(profileThing, Schema.img) ?? "/profile.svg";
8585
const phone = getUrl(profileThing, Schema.phone) ?? "";
8686

8787
return { name, mbox, description, img, phone };

0 commit comments

Comments
 (0)