diff options
author | Luca Milanesio <luca.milanesio@gmail.com> | 2024-04-10 19:46:04 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2024-04-10 19:46:04 +0000 |
commit | b307f5b8a66f60ebefc62ea039d08045da480f42 (patch) | |
tree | 49894968c879c9f65e0a40b055adaec1dac22849 | |
parent | 26d58776626d3fc5b818f656ee4f05b2444fe86b (diff) | |
parent | 2c44778ab9aed093f1f63fb086f986c462d9dc50 (diff) |
Merge "Ensure we don't end up in an infinite loop when updating path." into stable-3.8
-rw-r--r-- | polygerrit-ui/app/elements/shared/gr-dropdown-list/gr-dropdown-list.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/polygerrit-ui/app/elements/shared/gr-dropdown-list/gr-dropdown-list.ts b/polygerrit-ui/app/elements/shared/gr-dropdown-list/gr-dropdown-list.ts index 9b74e24221..465afce951 100644 --- a/polygerrit-ui/app/elements/shared/gr-dropdown-list/gr-dropdown-list.ts +++ b/polygerrit-ui/app/elements/shared/gr-dropdown-list/gr-dropdown-list.ts @@ -187,7 +187,7 @@ export class GrDropdownList extends LitElement { } protected override willUpdate(changedProperties: PropertyValues): void { - if (changedProperties.has('items') || changedProperties.has('value')) { + if (changedProperties.has('value')) { this.handleValueChange(); } } |