mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 22:10:55 +01:00
Fix "Resign as Reviewer" to appear only when actually a Reviewer
Summary: Is this an appropriate place to say "herp derp?" Test Plan: Check for Resign as Reviewer for the following table waiting for review | accepted | committed Am actually reviewer Am not reviewer but CC'ed Unrelated Reviewers: epriestley CC: Differential Revision: 140
This commit is contained in:
parent
bc1be958bd
commit
9757edb268
1 changed files with 1 additions and 1 deletions
|
@ -506,7 +506,7 @@ class DifferentialRevisionViewController extends DifferentialController {
|
|||
|
||||
$actions[DifferentialAction::ACTION_ADDREVIEWERS] = true;
|
||||
|
||||
return array_keys($actions);
|
||||
return array_keys(array_filter($actions));
|
||||
}
|
||||
|
||||
private function loadInlineComments(array $comments, array &$changesets) {
|
||||
|
|
Loading…
Reference in a new issue