mirror of
https://github.com/nextcloud/server.git
synced 2026-04-29 10:03:32 -04:00
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
1 changed files with 5 additions and 0 deletions
|
|
@ -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 a new issue