Some navigation refactoring
This commit is contained in:
parent
f09ab62d52
commit
7eed07da38
6 changed files with 48 additions and 33 deletions
|
|
@ -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()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue