Skip to content
Snippets Groups Projects
Commit f83af3b4 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

fixes #5

parent 97320096
No related branches found
No related tags found
No related merge requests found
...@@ -16,8 +16,8 @@ final class IconOverview extends StudIPPlugin implements SystemPlugin ...@@ -16,8 +16,8 @@ final class IconOverview extends StudIPPlugin implements SystemPlugin
if (Navigation::hasItem('/contents')) { if (Navigation::hasItem('/contents')) {
Navigation::addItem('/contents/icon-overview', $navigation); Navigation::addItem('/contents/icon-overview', $navigation);
} elseif (Navigation::hasItem('/profile/settings')) { } else {
Navigation::addItem('/profile/settings/icon-overview', $navigation); Navigation::addItem('/icon-overview', $navigation);
} }
} }
...@@ -52,7 +52,7 @@ final class IconOverview extends StudIPPlugin implements SystemPlugin ...@@ -52,7 +52,7 @@ final class IconOverview extends StudIPPlugin implements SystemPlugin
if (Navigation::hasItem('/contents/icon-overview')) { if (Navigation::hasItem('/contents/icon-overview')) {
Navigation::activateItem('/contents/icon-overview'); Navigation::activateItem('/contents/icon-overview');
} else { } else {
Navigation::activateItem('/profile/settings/icon-overview'); Navigation::activateItem('/icon-overview');
} }
$icons = $this->getIcons(); $icons = $this->getIcons();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment