AboutPage: React properly if no profile pic is defined, fixes #264
This commit is contained in:
parent
2c078307dc
commit
f26820ef75
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ Page {
|
||||||
}
|
}
|
||||||
|
|
||||||
ProfileThumbnail {
|
ProfileThumbnail {
|
||||||
photoData: aboutPage.userInformation.profile_photo.small
|
photoData: ((typeof aboutPage.userInformation.profile_photo !== "undefined") ? aboutPage.userInformation.profile_photo.small : {})
|
||||||
width: Theme.itemSizeExtraLarge
|
width: Theme.itemSizeExtraLarge
|
||||||
height: Theme.itemSizeExtraLarge
|
height: Theme.itemSizeExtraLarge
|
||||||
replacementStringHint: aboutPage.userInformation.first_name + " " + aboutPage.userInformation.last_name
|
replacementStringHint: aboutPage.userInformation.first_name + " " + aboutPage.userInformation.last_name
|
||||||
|
|
Loading…
Reference in a new issue