1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-30 10:42:41 +01:00

Put Project "Manage" item back

Summary:
Ref T12174. This isn't really a "newManageItem()" since Projects have a separate manage screen.

That is, I incorrectly changed the "Manage [This Project]" item into a "Edit Menu" item, so some options (like "Archive Project") incorrectly became inaccessible.

Test Plan: Viewed a project, saw the right menu item, clicked it, could archive/etc project. Also edited the menu.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T12174

Differential Revision: https://secure.phabricator.com/D17275
This commit is contained in:
epriestley 2017-01-31 11:55:20 -08:00
parent 27a33896ff
commit 2a527a51f2

View file

@ -41,7 +41,9 @@ final class PhabricatorProjectProfileMenuEngine
->setMenuItemKey( ->setMenuItemKey(
PhabricatorProjectSubprojectsProfileMenuItem::MENUITEMKEY); PhabricatorProjectSubprojectsProfileMenuItem::MENUITEMKEY);
$items[] = $this->newManageItem(); $items[] = $this->newItem()
->setBuiltinKey(PhabricatorProject::ITEM_MANAGE)
->setMenuItemKey(PhabricatorProjectManageProfileMenuItem::MENUITEMKEY);
return $items; return $items;
} }