null check to fix console error

This commit is contained in:
Gamebrary 2021-06-16 14:49:11 -07:00
parent fffa760253
commit acafaf9d1a

View file

@ -92,7 +92,7 @@
<b-avatar <b-avatar
rounded rounded
size="38" size="38"
:src="user.photoURL ? user.photoURL : null" :src="user && user.photoURL ? user.photoURL : null"
/> />
<span v-if="profile.userName"> <span v-if="profile.userName">