1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 08:52:39 +01:00

T6597, Uninstalled applications are still linked on Application launcher

Summary: Fixes T6597, Uninstalled applications should not be clickable when searching "All Applications" in the Applications launcher

Test Plan: Navigate too /applications/query/all, uninstall an application, navigate back to all applications. Uninstalled application title should not be clickable.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T6597

Differential Revision: https://secure.phabricator.com/D11223
This commit is contained in:
lkassianik 2015-01-05 16:25:47 -08:00 committed by epriestley
parent 204ae221d2
commit 87c1d004be

View file

@ -228,7 +228,7 @@ final class PhabricatorAppSearchEngine
->setIcon('fa-cog')
->setHref('/applications/view/'.get_class($application).'/'));
if ($application->getBaseURI()) {
if ($application->getBaseURI() && $application->isInstalled()) {
$item->setHref($application->getBaseURI());
}