add external links

This commit is contained in:
Simon Vieille 2020-08-11 15:52:15 +02:00
commit caa9c092ef
Signed by untrusted user: deblan
GPG key ID: 03383D15A1D31745
4 changed files with 23 additions and 3 deletions

View file

@ -43,6 +43,20 @@ class AppRepository
}
}
foreach ($navigation as $app) {
if (substr($app['id'], 0, 14) === 'external_index') {
$visibleApps[$app['id']] = [
'id' => $app['id'],
'name' => $app['name'],
'preview' => $app['icon'],
'previewAsIcon' => true,
'category' => [
'external_links',
],
];
}
}
return $visibleApps;
}
}