Remove "removeServiceUsers" method from GrReplyDialog
The method is simply calling the util.
Release-Notes: skip
Google-bug-id: b/236921879
Change-Id: I8b6de783fa2c4ec21a357d373236d7024c92af67
diff --git a/polygerrit-ui/app/elements/change/gr-reply-dialog/gr-reply-dialog.ts b/polygerrit-ui/app/elements/change/gr-reply-dialog/gr-reply-dialog.ts
index bfd92d6..753097a 100644
--- a/polygerrit-ui/app/elements/change/gr-reply-dialog/gr-reply-dialog.ts
+++ b/polygerrit-ui/app/elements/change/gr-reply-dialog/gr-reply-dialog.ts
@@ -1047,7 +1047,7 @@
<div class="peopleList">
<div class="peopleListLabel">Reviewers</div>
<div class="peopleListValues">
- ${this.removeServiceUsers(this.reviewers).map(
+ ${removeServiceUsers(this.reviewers).map(
account => html`
<gr-account-label
.account=${account}
@@ -1069,7 +1069,7 @@
<div class="peopleList">
<div class="peopleListLabel">CC</div>
<div class="peopleListValues">
- ${this.removeServiceUsers(this.ccs).map(
+ ${removeServiceUsers(this.ccs).map(
account => html`
<gr-account-label
.account=${account}
@@ -1743,10 +1743,6 @@
return removeServiceUsers(allAccounts.filter(isAccount));
}
- removeServiceUsers(accounts: AccountInfo[]) {
- return removeServiceUsers(accounts);
- }
-
computeUploader() {
if (
!this.change?.current_revision ||