commit | c0c90a277403a2be221ae2e4648394f9c3262335 | [log] [tgz] |
---|---|---|
author | Youssef Elghareeb <ghareeb@google.com> | Mon Oct 26 13:56:34 2020 +0100 |
committer | Youssef Elghareeb <ghareeb@google.com> | Mon Oct 26 14:00:43 2020 +0100 |
tree | 83d83291f3e2fe33f3ae480e425540b50c9b902a | |
parent | 66ccd2f3dd2f6bb3272d4ccebcefa56e2fd49d49 [diff] |
Replace 'DELETE' with 'REMOVE' for removing reviewers The allowed backend action for removing a reviewer is 'REMOVE', hence changing the frontend to use 'REMOVE' instead of 'DELETE'. https://gerrit.googlesource.com/plugins/reviewers/+/ 66ccd2f3dd2f6bb3272d4ccebcefa56e2fd49d49/src/main/java/com/googlesource/ gerrit/plugins/reviewers/PutReviewers.java#62 Change-Id: Ic9330eea5f7988d9066ab2a8ae94a93f8fc08881
diff --git a/rv-reviewers/rv-filter-section.js b/rv-reviewers/rv-filter-section.js index 3bf6d06..fab5420 100644 --- a/rv-reviewers/rv-filter-section.js +++ b/rv-reviewers/rv-filter-section.js
@@ -83,7 +83,7 @@ } else { const index = e.model.index; const deleted = this.reviewers[index]; - this._putReviewer(deleted, 'DELETE'); + this._putReviewer(deleted, 'REMOVE'); } }