commit | 0800d2b54c314527ec797ec57467eb5706f2071d | [log] [tgz] |
---|---|---|
author | Chris Poucet <poucet@google.com> | Mon Oct 11 11:48:20 2021 +0000 |
committer | Chris Poucet <poucet@google.com> | Mon Oct 11 11:48:30 2021 +0000 |
tree | bef3253c9ab4b8ba654f6cbcae103e344cbef4b7 | |
parent | 942904672e916aecbe8446996617596bd81f44d0 [diff] |
Fix gr-check-results Google-Bug-Id: b/202532353 Change-Id: I62d55c1b06536004df44824974cc82960ee4c0f7
diff --git a/polygerrit-ui/app/elements/checks/gr-checks-results.ts b/polygerrit-ui/app/elements/checks/gr-checks-results.ts index 48ccf2c..4664d92 100644 --- a/polygerrit-ui/app/elements/checks/gr-checks-results.ts +++ b/polygerrit-ui/app/elements/checks/gr-checks-results.ts
@@ -293,7 +293,7 @@ override firstUpdated() { const loading = this.shadowRoot?.querySelector('.container'); assertIsDefined(loading, '"Loading" element'); - whenVisible(loading, () => this.setAttribute('shouldRender', 'true'), 200); + whenVisible(loading, () => (this.shouldRender = true), 200); } override render() {