Don't send defaults if not displaying network
This commit is contained in:
parent
adab03f730
commit
01f524b7c5
@ -461,7 +461,6 @@ function getClientConfiguration() {
|
||||
"lockNetwork",
|
||||
"displayNetwork",
|
||||
"useHexIp",
|
||||
"defaults",
|
||||
"themes",
|
||||
"prefetch",
|
||||
]);
|
||||
@ -471,6 +470,10 @@ function getClientConfiguration() {
|
||||
config.gitCommit = Helper.getGitCommit();
|
||||
config.themes = themes.getAll();
|
||||
|
||||
if (config.displayNetwork) {
|
||||
config.defaults = Helper.config.defaults;
|
||||
}
|
||||
|
||||
return config;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user