commit | 2f6b972820262a98ec0bebc102bab1a737b8646c | [log] [tgz] |
---|---|---|
author | Ben Rohlfs <brohlfs@google.com> | Tue Dec 20 16:49:19 2022 +0100 |
committer | Ben Rohlfs <brohlfs@google.com> | Mon Jan 09 19:47:50 2023 +0100 |
tree | f3d9ce4254ae5bcbdbdf9372f12de3920cd369e9 | |
parent | f15ede6cadf7db66a9f0f8c19de0b27e94aa53d7 [diff] |
Remove redundant subscription We have two identical subscriptions in gr-diff-view. Let's remove one of them. Release-Notes: skip Change-Id: I48b50dcf6bee839a7b75a91b7b582b69efa3ae9f
diff --git a/polygerrit-ui/app/elements/diff/gr-diff-view/gr-diff-view.ts b/polygerrit-ui/app/elements/diff/gr-diff-view/gr-diff-view.ts index 444359c..7f38c79 100644 --- a/polygerrit-ui/app/elements/diff/gr-diff-view/gr-diff-view.ts +++ b/polygerrit-ui/app/elements/diff/gr-diff-view/gr-diff-view.ts
@@ -442,7 +442,6 @@ () => this.getChangeModel().diffPath$, path => (this.path = path) ); - subscribe( this, () => @@ -486,11 +485,6 @@ this.setReviewedStatus(patchNum!, diffPrefs); } ); - subscribe( - this, - () => this.getChangeModel().diffPath$, - path => (this.path = path) - ); } static override get styles() {