mirror of
https://github.com/PrimalHQ/primal-web-app.git
synced 2024-10-01 17:31:13 +00:00
Hide verification check on various avatars
This commit is contained in:
parent
ef0ac3798d
commit
b0fb874744
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "primal-web-app",
|
||||
"version": "0.77.20",
|
||||
"version": "0.77.23",
|
||||
"description": "",
|
||||
"scripts": {
|
||||
"start": "vite",
|
||||
|
@ -13,6 +13,7 @@ const Avatar: Component<{
|
||||
user?: PrimalUser,
|
||||
highlightBorder?: boolean,
|
||||
id?: string,
|
||||
showCheck?: boolean,
|
||||
}> = (props) => {
|
||||
|
||||
const media = useMediaContext();
|
||||
@ -121,7 +122,7 @@ const Avatar: Component<{
|
||||
<img src={imageSrc()} alt="avatar" onerror={imgError}/>
|
||||
</div>
|
||||
</Show>
|
||||
<Show when={props.user}>
|
||||
<Show when={props.user && props.showCheck}>
|
||||
<div class={styles.iconBackground}>
|
||||
<VerificationCheck user={props.user} />
|
||||
</div>
|
||||
|
@ -52,11 +52,6 @@ const NotificationAvatar: Component<{
|
||||
>
|
||||
+{props.number}
|
||||
</Show>
|
||||
<Show when={props.verified}>
|
||||
<div class={styles.iconBackground}>
|
||||
<div class={styles.verifiedIcon}></div>
|
||||
</div>
|
||||
</Show>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
@ -23,6 +23,7 @@ const ProfileWidget: Component<{ id?: string }> = (props) => {
|
||||
<Avatar
|
||||
size="vs"
|
||||
user={activeUser()}
|
||||
showCheck={true}
|
||||
/>
|
||||
</div>
|
||||
<div class={styles.userInfo}>
|
||||
|
Loading…
Reference in New Issue
Block a user