1
0
Fork 0
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:
epriestley 2016-12-12 10:15:37 -08:00
parent a79e4b786e
commit 8e0d936f72

View file

@ -98,7 +98,7 @@ final class PhabricatorSettingsMainController
$panels = $this->buildPanels($preferences); $panels = $this->buildPanels($preferences);
$nav = $this->renderSideNav($panels); $nav = $this->renderSideNav($panels);
$key = $nav->selectFilter($key, head($panels)->getMenuItemKey()); $key = $nav->selectFilter($key, head($panels)->getPanelKey());
$panel = $panels[$key] $panel = $panels[$key]
->setController($this) ->setController($this)
@ -196,7 +196,7 @@ final class PhabricatorSettingsMainController
$nav->addLabel($group->getPanelGroupName()); $nav->addLabel($group->getPanelGroupName());
} }
$nav->addFilter($panel->getMenuItemKey(), $panel->getPanelName()); $nav->addFilter($panel->getPanelKey(), $panel->getPanelName());
} }
return $nav; return $nav;