feat: picture component moved to hoppscotch-ui (#3032)

This commit is contained in:
Anwarul Islam
2023-05-09 01:02:54 +06:00
committed by Andrew Bastin
parent f43b6e7cff
commit 09d1663f81
8 changed files with 46 additions and 145 deletions

View File

@@ -28,7 +28,7 @@
arrow
:on-shown="() => tippyActions!.focus()"
>
<ProfilePicture
<HoppSmartPicture
v-if="currentUser.photoURL"
v-tippy="{
theme: 'tooltip',
@@ -37,7 +37,7 @@
:alt="currentUser.displayName ?? 'No Name'"
:title="currentUser.displayName ?? currentUser.email ?? 'No Name'"
/>
<ProfilePicture
<HoppSmartPicture
v-else
v-tippy="{ theme: 'tooltip' }"
:title="currentUser.displayName ?? currentUser.email ?? 'No Name'"