fix: don't expect teamer data to be available
This commit is contained in:
1 parent
a22c3c959a
commit
8030f0b050
1 file changed
+1
-1
@@ -8,7 +8,7 @@
|
||||
</a>
|
||||
{% if app.user %}
|
||||
<div class="flex items-center space-x-4">
|
||||
{% if app.user.teamer.photo %}
|
||||
{% if app.user.teamer and app.user.teamer.photo %}
|
||||
<a href="{{ path('app_teamer_profile_index') }}" title="Mein Profil">
|
||||
<img src="{{ asset(app.user.teamer.photo.filename | imagine_filter('profile')) }}"
|
||||
class="h-8 w-auto rounded-full"
|
||||
|
||||
Reference in new issue
Block a user