summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/private/NavigationManager.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/NavigationManager.php b/lib/private/NavigationManager.php
index 0b1f43d7de9..439e49909d0 100644
--- a/lib/private/NavigationManager.php
+++ b/lib/private/NavigationManager.php
@@ -258,6 +258,7 @@ class NavigationManager implements INavigationManager {
}
$l = $this->l10nFac->get($app);
$order = isset($nav['order']) ? $nav['order'] : 100;
+ $type = isset($nav['type']) ? $nav['type'] : 'link';
$route = $this->urlGenerator->linkToRoute($nav['route']);
$icon = isset($nav['icon']) ? $nav['icon'] : 'app.svg';
foreach ([$icon, "$app.svg"] as $i) {
@@ -277,6 +278,7 @@ class NavigationManager implements INavigationManager {
'order' => $order,
'href' => $route,
'icon' => $icon,
+ 'type' => $type,
'name' => $l->t($nav['name']),
]);
}