Skip to content
Snippets Groups Projects
Commit 244abd0a authored by srosse's avatar srosse
Browse files

OO-1264: fix user tool in top navigation on new installed system

parent fee7cd86
No related branches found
No related tags found
No related merge requests found
...@@ -241,7 +241,7 @@ public class OlatTopNavController extends BasicController implements GenericEven ...@@ -241,7 +241,7 @@ public class OlatTopNavController extends BasicController implements GenericEven
if (anExt.isEnabled() && ae instanceof GenericActionExtension) { if (anExt.isEnabled() && ae instanceof GenericActionExtension) {
GenericActionExtension gAe = (GenericActionExtension) ae; GenericActionExtension gAe = (GenericActionExtension) ae;
String extensionId = gAe.getUniqueExtensionID(); String extensionId = gAe.getUniqueExtensionID();
if(availableToolSet.contains(extensionId)) { if(availableToolSet.isEmpty() || availableToolSet.contains(extensionId)) {
GenericTreeNode node = gAe.createMenuNode(ureq); GenericTreeNode node = gAe.createMenuNode(ureq);
String linkName = "personal.tool." + node.getIdent(); String linkName = "personal.tool." + node.getIdent();
Link link = LinkFactory.createLink(linkName, container, this); Link link = LinkFactory.createLink(linkName, container, this);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment