mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 14:00:56 +01:00
When "Fetch Refs" are configured for a repository, highlight the "Branches" menu item in the Diffusion Management UI
Summary: Ref T13448. Minor UI issue: setting a "Fetch Refs" value does not highlight the associated menu item, but should. Test Plan: Set only "Fetch Refs", now saw menu item highlighted. Maniphest Tasks: T13448 Differential Revision: https://secure.phabricator.com/D20895
This commit is contained in:
parent
1b40f7e540
commit
502ca4767e
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ final class DiffusionRepositoryBranchesManagementPanel
|
|||
|
||||
$has_any =
|
||||
$repository->getDetail('default-branch') ||
|
||||
$repository->getFetchRules() ||
|
||||
$repository->getTrackOnlyRules() ||
|
||||
$repository->getPermanentRefRules();
|
||||
|
||||
|
|
Loading…
Reference in a new issue