mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 08:52:39 +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:
parent
27a33896ff
commit
2a527a51f2
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue