mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-22 21:40:55 +01:00
Minor, fix an issue with some older navs.
This commit is contained in:
parent
2763d0fe61
commit
bfb99043bf
1 changed files with 4 additions and 1 deletions
|
@ -83,9 +83,12 @@ final class AphrontSideNavFilterView extends AphrontView {
|
|||
$uri = null) {
|
||||
|
||||
$item = id(new PhabricatorMenuItemView())
|
||||
->setKey(strlen($key) ? $key : null)
|
||||
->setName($name);
|
||||
|
||||
if (strlen($key)) {
|
||||
$item->setKey($key);
|
||||
}
|
||||
|
||||
if ($uri) {
|
||||
$item->setHref($uri);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue