Some navigation refactoring

This commit is contained in:
Ziver Koc 2016-04-06 14:28:47 +02:00
parent f09ab62d52
commit 7eed07da38
6 changed files with 48 additions and 33 deletions

View file

@ -60,7 +60,7 @@ public class ServicePage implements WAPage {
this.logPages = new ArrayList<>();
this.configPages = new ArrayList<>();
WANavigation nav = WANavigation.createRootNav(NAVIGATION_NAME);
WANavigation nav = WAContext.getRootNav().createSubNav(NAVIGATION_NAME);
nav.setResource(this);
for(WAService plugin : services) {
statusPages.add(new ServiceStatusPage(plugin.getStatus()));