mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-07 14:08:11 +08:00
disable profile picture (#1923)
This commit is contained in:
@@ -56,8 +56,9 @@ const Auth = React.memo((props) => {
|
|||||||
className={styles.menubarButton}
|
className={styles.menubarButton}
|
||||||
style={{ padding: 0 }}
|
style={{ padding: 0 }}
|
||||||
>
|
>
|
||||||
{userinfo?.picture ? (
|
{/* eslint-disable-next-line no-constant-condition -- disable profile picture until CSP is tweaked */}
|
||||||
<img alt="profile" src={userinfo?.picture} />
|
{userinfo?.picture && false ? (
|
||||||
|
<img alt="profile" size="21px" src={userinfo?.picture} />
|
||||||
) : (
|
) : (
|
||||||
<span style={{ fontSize: "18px" }}>{scientist}</span>
|
<span style={{ fontSize: "18px" }}>{scientist}</span>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user