feat: init boring avatars (#3615)
This commit is contained in:
@@ -33,28 +33,16 @@
|
||||
:on-shown="() => tippyActions!.focus()"
|
||||
>
|
||||
<HoppSmartPicture
|
||||
v-if="currentUser.photoURL"
|
||||
v-tippy="{
|
||||
theme: 'tooltip',
|
||||
}"
|
||||
:url="currentUser.photoURL"
|
||||
:alt="currentUser.displayName ?? `${t('app.no_name')}`"
|
||||
:name="currentUser.uid"
|
||||
:title="
|
||||
currentUser.displayName ??
|
||||
currentUser.email ??
|
||||
`${t('app.no_name')}`
|
||||
"
|
||||
/>
|
||||
<HoppSmartPicture
|
||||
v-else
|
||||
v-tippy="{ theme: 'tooltip' }"
|
||||
:title="
|
||||
currentUser.displayName ??
|
||||
currentUser.email ??
|
||||
`${t('app.no_name')}`
|
||||
"
|
||||
:initial="currentUser.displayName ?? currentUser.email"
|
||||
/>
|
||||
<template #content="{ hide }">
|
||||
<div
|
||||
ref="tippyActions"
|
||||
|
||||
Reference in New Issue
Block a user