commit | df666809decec18d552b9d9a70d3638db6370d60 | [log] [tgz] |
---|---|---|
author | Kamil Musin <kamilm@google.com> | Tue Jun 25 13:39:39 2024 +0200 |
committer | Kamil Musin <kamilm@google.com> | Tue Jun 25 13:39:39 2024 +0200 |
tree | 88730b5b6c935b4ee240b591a2e45917b47f092a | |
parent | 68be5bec35810c986d7a1bc65e706402c1870e72 [diff] |
Unmark updateCheckTimerHandle as state() The timer handle is internal logic, it doesn't affect displayed data and shouldn't cause an update of the component. Currently the value of the handle gets updated every `update_delay` seconds causing lit component update process. Release-Notes: skip Change-Id: Ie00f58729feb6863d4cf460d44e5247c97c91153
diff --git a/polygerrit-ui/app/elements/change/gr-change-view/gr-change-view.ts b/polygerrit-ui/app/elements/change/gr-change-view/gr-change-view.ts index c02d474..f1ef362 100644 --- a/polygerrit-ui/app/elements/change/gr-change-view/gr-change-view.ts +++ b/polygerrit-ui/app/elements/change/gr-change-view/gr-change-view.ts
@@ -323,7 +323,6 @@ @state() replyDisabled = true; - @state() private updateCheckTimerHandle?: number | null; @state() editMode = false;