mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 22:10:55 +01:00
Fix two overzealous renames of getPanelKey()
Summary: Fixes T11999. These are actual panels (SettingsPanel) which are panelley so it's OK. Test Plan: Clicked "Customize Menu..." on Home. Reviewers: chad Reviewed By: chad Maniphest Tasks: T11999 Differential Revision: https://secure.phabricator.com/D17032
This commit is contained in:
parent
a79e4b786e
commit
8e0d936f72
1 changed files with 2 additions and 2 deletions
|
@ -98,7 +98,7 @@ final class PhabricatorSettingsMainController
|
|||
$panels = $this->buildPanels($preferences);
|
||||
$nav = $this->renderSideNav($panels);
|
||||
|
||||
$key = $nav->selectFilter($key, head($panels)->getMenuItemKey());
|
||||
$key = $nav->selectFilter($key, head($panels)->getPanelKey());
|
||||
|
||||
$panel = $panels[$key]
|
||||
->setController($this)
|
||||
|
@ -196,7 +196,7 @@ final class PhabricatorSettingsMainController
|
|||
$nav->addLabel($group->getPanelGroupName());
|
||||
}
|
||||
|
||||
$nav->addFilter($panel->getMenuItemKey(), $panel->getPanelName());
|
||||
$nav->addFilter($panel->getPanelKey(), $panel->getPanelName());
|
||||
}
|
||||
|
||||
return $nav;
|
||||
|
|
Loading…
Reference in a new issue