Skip to content

Commit

Permalink
Frontend: ProfilePicture component (part of profile page) - bug fix -…
Browse files Browse the repository at this point in the history
… add default image #135
  • Loading branch information
OrAbramovich committed Jan 7, 2018
1 parent 49d4da4 commit eb74624
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion views/src/components/user-profile/ProfilePicture.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<template>
<div>
<b-img center rounded="circle" width="150" height="150" :src=img_src alt="img" class="m-1" />
<b-img v-if="img_src !== ''" center rounded="circle" width="150" height="150" :src=img_src alt="profile picture" class="m-1" />
<b-img v-if="img_src === ''" center rounded="circle" width="150" height="150" src='@/../static/images/user-profile/avatar-image.png' class="m-1" />
</div>
</template>

Expand Down

0 comments on commit eb74624

Please sign in to comment.