forked from deblan/side_menu
add external links
This commit is contained in:
parent
8aa08dbc6b
commit
caa9c092ef
4 changed files with 23 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue