feat: init boring avatars (#3615)

This commit is contained in:
Liyas Thomas
2023-12-04 13:20:26 +05:30
committed by GitHub
parent b43531f200
commit 259cd48dbb
7 changed files with 41 additions and 116 deletions

View File

@@ -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"