Merge "Add a param for added reviewers on reply-reviewers endpoint"
This commit is contained in:
		@@ -285,6 +285,15 @@ class GrReplyDialog extends KeyboardShortcutMixin(GestureEventListeners(
 | 
			
		||||
        type: Boolean,
 | 
			
		||||
        value: true,
 | 
			
		||||
      },
 | 
			
		||||
 | 
			
		||||
      /**
 | 
			
		||||
       * A copy of added reviewers, a new copy is created when any change
 | 
			
		||||
       * made to the reviewers.
 | 
			
		||||
       */
 | 
			
		||||
      _allReviewers: {
 | 
			
		||||
        type: Array,
 | 
			
		||||
        computed: '_computeAllReviewers(_reviewers.*)',
 | 
			
		||||
      },
 | 
			
		||||
    };
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
@@ -1102,6 +1111,10 @@ class GrReplyDialog extends KeyboardShortcutMixin(GestureEventListeners(
 | 
			
		||||
    }
 | 
			
		||||
    this.reporting.reportInteraction('attention-set-actions', {actions});
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  _computeAllReviewers() {
 | 
			
		||||
    return [...this._reviewers];
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
customElements.define(GrReplyDialog.is, GrReplyDialog);
 | 
			
		||||
 
 | 
			
		||||
@@ -178,6 +178,8 @@ export const htmlTemplate = html`
 | 
			
		||||
    <section class="peopleContainer">
 | 
			
		||||
      <gr-endpoint-decorator name="reply-reviewers">
 | 
			
		||||
        <gr-endpoint-param name="change" value="[[change]]"></gr-endpoint-param>
 | 
			
		||||
        <gr-endpoint-param name="reviewers" value="[[_allReviewers]]">
 | 
			
		||||
        </gr-endpoint-param>
 | 
			
		||||
        <div class="peopleList">
 | 
			
		||||
          <div class="peopleListLabel">Reviewers</div>
 | 
			
		||||
          <gr-account-list
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user