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