commit | e0358c2e4e7db76a7efe01de9cc14ef16af03a2e | [log] [tgz] |
---|---|---|
author | Paladox none <thomasmulhall410@yahoo.com> | Thu Aug 05 23:23:05 2021 +0000 |
committer | Paladox none <thomasmulhall410@yahoo.com> | Thu Aug 05 23:23:49 2021 +0000 |
tree | 572c98f726b30ca41716100af6fa4ede96cc9a51 | |
parent | 13c2c23f6e100e536498b1f92baf35f9f48ebbcb [diff] |
Fix bug in gr-avatar which wasn't hiding avatars when "hidden" is set This happened for sites that did not set an avatar. Seems a recent regression as it works on gerrit 3.3. Change-Id: I148716b36c3d57e3eb3f1486b9539f1741d7288b
diff --git a/polygerrit-ui/app/elements/shared/gr-avatar/gr-avatar.ts b/polygerrit-ui/app/elements/shared/gr-avatar/gr-avatar.ts index 80576a7..1d2ccbb 100644 --- a/polygerrit-ui/app/elements/shared/gr-avatar/gr-avatar.ts +++ b/polygerrit-ui/app/elements/shared/gr-avatar/gr-avatar.ts
@@ -37,6 +37,9 @@ static get styles() { return [ css` + :host([hidden]) { + display: none; + } :host { display: inline-block; border-radius: 50%;