Allow the server to control category visibility
This commit is contained in:
@ -67,7 +67,8 @@ function handleRequest(req, res) {
|
||||
categories: categories,
|
||||
graphDuration: config.graphDuration,
|
||||
servers: servers,
|
||||
bootTime: util.getBootTime()
|
||||
bootTime: util.getBootTime(),
|
||||
categoriesVisible: config.categoriesVisible || false
|
||||
};
|
||||
|
||||
res.write('setPublicConfig(' + JSON.stringify(publicConfig) + ');');
|
||||
|
Reference in New Issue
Block a user