Hide navigation links which dont lead anywhere (looking at you user status)
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
fcdd702040
commit
5be04942e7
|
@ -87,6 +87,11 @@ class AppSearch implements IProvider {
|
|||
continue;
|
||||
}
|
||||
|
||||
if ($entry['href'] === '') {
|
||||
// Nothing we can open, so ignore
|
||||
continue;
|
||||
}
|
||||
|
||||
$result[] = new SearchResultEntry(
|
||||
'',
|
||||
$entry['name'],
|
||||
|
|
Loading…
Reference in New Issue