Commit 4b8849ac by Jonathan Reinink

Only show user photo if set

1 parent a4bf54f9
Showing with 1 additions and 1 deletions
......@@ -6,7 +6,7 @@
<span class="text-indigo-light font-medium">/</span>
{{ form.first_name }} {{ form.last_name }}
</h1>
<img class="block w-8 h-8 rounded-full ml-4" :src="user.photo">
<img v-if="user.photo" class="block w-8 h-8 rounded-full ml-4" :src="user.photo">
</div>
<trashed-message v-if="user.deleted_at" class="mb-6" @restore="restore">
This user has been deleted.
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!