Don't show archived projects in maniphest sidebar
This commit is contained in:
		| @@ -69,6 +69,9 @@ abstract class ManiphestController extends PhabricatorController { | |||||||
|       $project_ids = array($hide_item_id); |       $project_ids = array($hide_item_id); | ||||||
|  |  | ||||||
|       foreach ($projects as $project) { |       foreach ($projects as $project) { | ||||||
|  |         if ($project->isArchived()) { | ||||||
|  |           continue; | ||||||
|  |         } | ||||||
|         $url = 'project/' . $project->getID(); |         $url = 'project/' . $project->getID(); | ||||||
|         $name = $project->getName(); |         $name = $project->getName(); | ||||||
|         $is_hide = !in_array($name, $this->alwaysVisibleProjects); |         $is_hide = !in_array($name, $this->alwaysVisibleProjects); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user