mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 08:52:39 +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);
|
$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;
|
||||||
|
|
Loading…
Reference in a new issue