mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-18 21:02:41 +01:00
Really pin "applications" to the bottom of the menu, for serious
Summary: Pin it. Test Plan: Saw it pinned. Reviewers: chad Reviewed By: chad Subscribers: richardvanvelzen, epriestley Differential Revision: https://secure.phabricator.com/D9373
This commit is contained in:
parent
14dab3f55c
commit
1bfa8b2063
1 changed files with 2 additions and 1 deletions
|
@ -32,11 +32,12 @@ abstract class PhabricatorHomeController extends PhabricatorController {
|
|||
$applications,
|
||||
$user);
|
||||
|
||||
// Put "Applications" at the bottom.
|
||||
// Force "Applications" to appear at the bottom.
|
||||
$meta_app = 'PhabricatorApplicationApplications';
|
||||
$pinned = array_fuse($pinned);
|
||||
unset($pinned[$meta_app]);
|
||||
$pinned[$meta_app] = $meta_app;
|
||||
$applications[$meta_app] = PhabricatorApplication::getByClass($meta_app);
|
||||
|
||||
$tiles = array();
|
||||
foreach ($pinned as $pinned_application) {
|
||||
|
|
Loading…
Reference in a new issue