0👍
You should simply display this image when user.avatar
is defined, e.g. :
<img v-if="user.avatar" :src="userAvatarURL" class="img-fluid avatar">
Source:stackexchange.com
0👍
You should simply display this image when user.avatar
is defined, e.g. :
<img v-if="user.avatar" :src="userAvatarURL" class="img-fluid avatar">