mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Merge pull request #5398 from Ylianst/hide-powerstate
hidePowerTimeline
This commit is contained in:
commit
a0b7280893
6 changed files with 17 additions and 3 deletions
|
@ -3104,7 +3104,8 @@ module.exports.CreateWebServer = function (parent, db, args, certificates, doneF
|
|||
amtscanoptions: amtscanoptions,
|
||||
pluginHandler: (parent.pluginHandler == null) ? 'null' : parent.pluginHandler.prepExports(),
|
||||
webRelayPort: ((args.relaydns != null) ? ((typeof args.aliasport == 'number') ? args.aliasport : args.port) : ((parent.webrelayserver != null) ? ((typeof args.relayaliasport == 'number') ? args.relayaliasport : parent.webrelayserver.port) : 0)),
|
||||
webRelayDns: ((args.relaydns != null) ? args.relaydns[0] : '')
|
||||
webRelayDns: ((args.relaydns != null) ? args.relaydns[0] : ''),
|
||||
hidePowerTimeline: (domain.hidepowertimeline ? 'true' : 'false')
|
||||
}, dbGetFunc.req, domain), user);
|
||||
}
|
||||
xdbGetFunc.req = req;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue