| commit | cda7bf7883b2f3ac43bdaeaa7ef7864dbec552d1 | [log] [tgz] |
|---|---|---|
| author | Ben Rohlfs <brohlfs@google.com> | Tue Nov 30 17:57:14 2021 +0100 |
| committer | Ben Rohlfs <brohlfs@google.com> | Tue Nov 30 17:57:14 2021 +0100 |
| tree | 11554f19b0ef6a732ea1fcaee8258f9fc01bdabb | |
| parent | 02cef3239d4ee38916b2584804022a32e564e779 [diff] |
Fix a TypeScript conformance check Promises have to be awaited. Change-Id: I2aa2fd6cdf8a4fc5c7780578dd5306290cb3fa43
diff --git a/polygerrit-ui/app/elements/shared/gr-comment/gr-comment.ts b/polygerrit-ui/app/elements/shared/gr-comment/gr-comment.ts index aa5a328..85a3623 100644 --- a/polygerrit-ui/app/elements/shared/gr-comment/gr-comment.ts +++ b/polygerrit-ui/app/elements/shared/gr-comment/gr-comment.ts
@@ -1126,7 +1126,7 @@ private async openDeleteCommentOverlay() { this.showConfirmDeleteOverlay = true; await this.updateComplete; - this.confirmDeleteOverlay?.open(); + await this.confirmDeleteOverlay?.open(); } private closeDeleteCommentOverlay() {